Message12496
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 |
|
Date |
User |
Action |
Args |
2019-05-06 11:36:03 | adamburke | set | messageid: <1557142563.5.0.129548684333.issue2023@roundup.psfhosted.org> |
2019-05-06 11:36:03 | adamburke | set | recipients:
+ adamburke, fwierzbicki, zyasoft, jeff.allen, mniklas, santa4nt |
2019-05-06 11:36:03 | adamburke | link | issue2023 messages |
2019-05-06 11:36:03 | adamburke | create | |
|