Jython

Message12496

Author adamburke
Recipients adamburke, fwierzbicki, jeff.allen, mniklas, santa4nt, zyasoft
Date 2019年05月06日.11:36:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557142563.5.0.129548684333.issue2023@roundup.psfhosted.org>
In-reply-to
Content
Got distracted after posting that comment. Confirm CPython is the same
C:\Users\Adam\jython\jython4>python
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.call(['dir'])
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "C:\Users\Adam\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 557, in call
 with Popen(*popenargs, **kwargs) as p:
 File "C:\Users\Adam\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 947, in __init__
 restore_signals, start_new_session)
 File "C:\Users\Adam\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 1224, in _execute_child
 startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
>>> subprocess.call(['cmd','/c','dir'])
 Volume in drive C is OS
 Volume Serial Number is E447-FAFD
 Directory of C:\Users\Adam\jython\jython4
06/05/2019 09:27 PM <DIR> .
06/05/2019 09:27 PM <DIR> ..
08/01/2019 05:23 PM 394 .gitignore
08/01/2019 05:23 PM 349 .hgignore
08/01/2019 05:23 PM 5,584 .hgtags
History
Date User Action Args
2019年05月06日 11:36:03adamburkesetmessageid: <1557142563.5.0.129548684333.issue2023@roundup.psfhosted.org>
2019年05月06日 11:36:03adamburkesetrecipients: + adamburke, fwierzbicki, zyasoft, jeff.allen, mniklas, santa4nt
2019年05月06日 11:36:03adamburkelinkissue2023 messages
2019年05月06日 11:36:03adamburkecreate

Supported by Python Software Foundation,
Powered by Roundup

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