Re:Bash code generator for command-line arguments
by lou1306 on Friday October 02, 2020 @10:33AM
(#24663006)
> 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.
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