Message277229
(1) It starts an extra process (unless you're running the application from cmd.exe) and (2) in some cases, the system won't recognise a cmd file as an executable. For a simple example,
t.cmd:
@echo Hello from t
example.py:
from subprocess import run
run(["t")]
If you run example.py you get "FileNotFoundError: [WinError 2] The system cannot find the file specified". |
|
Date |
User |
Action |
Args |
2016-09-22 15:26:28 | paul.moore | set | recipients:
+ paul.moore, tim.golden, zach.ware, serhiy.storchaka, steve.dower |
2016-09-22 15:26:28 | paul.moore | set | messageid: <1474557988.52.0.870253250301.issue28247@psf.upfronthosting.co.za> |
2016-09-22 15:26:28 | paul.moore | link | issue28247 messages |
2016-09-22 15:26:28 | paul.moore | create | |
|