3 ms·
> but other things got complicated there, mostly running other processes, capturing their exit status, pipe-ing their output Note that Python's subprocess modu
by lou1306 6y ago
> but other things got complicated there, mostly running other processes, capturing their exit status, pipe-ing their output
Note that Python's subprocess module [0] has received many updates since v3.5, and now I find it relatively painless. Most of the times, subprocess.check_output() or subprocess.run() will do the trick.
[0]: https://docs.python.org/3/library/subprocess.html https://docs.python.org/3/library/subprocess.html
- lysium 6y agoThx, I’ll check it out again!