Paul Moore added the comment: (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". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28247> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com