homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jovik
Recipients Jovik, docs@python, eric.smith, kathweaver, r.david.murray, terry.reedy
Date 2014年03月17日.13:24:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395062655.47.0.921670320709.issue20927@psf.upfronthosting.co.za>
In-reply-to
Content
As requested I did extra tests with extension. Same result as before:
>>> proc = subprocess.Popen("plink.exe", stdout=subprocess.PIPE, cwd="c:\\python33\\workspace")
>>> proc = subprocess.Popen(".\plink.exe", stdout=subprocess.PIPE, cwd="c:\\python33\\workspace")
>>> proc = subprocess.Popen(".\\plink.exe", stdout=subprocess.PIPE, cwd="c:\\python33\\workspace")
>>> proc = subprocess.Popen(".\plink.exe", stdout=subprocess.PIPE, cwd="c:/python33/workspace")
>>> proc = subprocess.Popen("plink.exe", stdout=subprocess.PIPE, cwd="c:/python33/workspace")
Traceback (most recent call last):
 File "C:\Python33\lib\subprocess.py", line 1104, in _execute_child
 startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "C:\Python33\lib\subprocess.py", line 819, in __init__
 restore_signals, start_new_session)
 File "C:\Python33\lib\subprocess.py", line 1110, in _execute_child
 raise WindowsError(*e.args)
FileNotFoundError: [WinError 2] The system cannot find the file specified
I believe it's a wider issue, since my colleagues insisted on using shell=True on Windows by default (I didn't understand why, until now)
History
Date User Action Args
2014年03月17日 13:24:15Joviksetrecipients: + Jovik, terry.reedy, eric.smith, r.david.murray, docs@python, kathweaver
2014年03月17日 13:24:15Joviksetmessageid: <1395062655.47.0.921670320709.issue20927@psf.upfronthosting.co.za>
2014年03月17日 13:24:15Joviklinkissue20927 messages
2014年03月17日 13:24:15Jovikcreate

AltStyle によって変換されたページ (->オリジナル) /