On 11 November 2015 at 17:16, Tim Johnson <[email protected]> wrote:
>> (2) [don’t do it] do you need to intercept the lines? If you don’t set
>> stderr= and stdout=, things will print just fine.
> Got to try that before using the module, just for edification.
At which point your initial code sample will become:
###########
p = subprocess.Popen(list(args))
###########
(is list(args) really necessary? Wouldn’t plain Popen(args) just work?)
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
https://mail.python.org/mailman/listinfo/python-list