Eric Smith e...@trueblade.com added the comment:
I agree with David that this is a Windows problem. I copied xcopy.exe into a
local directory as xcopy.exe and xcopy.a.exe. When running this VBScript, the
first line runs, the second gives me an error 0x8007002, The system could not
find the
New submission from Sridhar Ratnakumar sridh...@activestate.com:
Assume you have two executables in currect directory:
baz.exe
foo.bar.exe
Now subprocess.Popen(['baz']) will run successfully. But
subprocess.Popen(['foo.bar']) will throw the following exception:
Traceback (most recent
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Note that typing foo.bar in the Windows command line works, only subprocess
is not able to find the executable.
--
___
Python tracker rep...@bugs.python.org
Changes by Brian Curtin cur...@acm.org:
--
nosy: +brian.curtin
priority: - normal
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8224
___
R. David Murray rdmur...@bitdance.com added the comment:
Note that it works with shell=True. Which is what you would expect if it works
in the shell. Without shell=True, the program name is being passed to
CreateProcess directly. Popen(foo) results in the same cannot find file error
for me
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue might be documentation is subprocess documentation.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8224
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops. I wanted to write: This issue might be documented in subprocess
documentation :-/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8224
R. David Murray rdmur...@bitdance.com added the comment:
In order to do that someone will need to confirm that this affects all versions
of windows, and whether or not it is a bug in windows or the expected behavior
of CreateProcess.
--
___
Python