Author paul.moore
Recipients paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2016-09-22.15:26:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474557988.52.0.870253250301.issue28247@psf.upfronthosting.co.za>
In-reply-to
Content
(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".
History
Date User Action Args
2016-09-22 15:26:28paul.mooresetrecipients: + paul.moore, tim.golden, zach.ware, serhiy.storchaka, steve.dower
2016-09-22 15:26:28paul.mooresetmessageid: <1474557988.52.0.870253250301.issue28247@psf.upfronthosting.co.za>
2016-09-22 15:26:28paul.moorelinkissue28247 messages
2016-09-22 15:26:28paul.moorecreate