Do we want to do this and risk bugs with shell quoting?
24 + # XXX: Should we raise an error when the return code is not 0, so that it
25 + # behaves like the original shell script which was run with 'set -e'?
I think so.
Do we need shell=True? I assume we do, but using it as little as possible
would be good.
Hi,
15 + if isinstance(command, (list, tuple)):
16 + command = " ".join(command)
Do we want to do this and risk bugs with shell quoting?
24 + # XXX: Should we raise an error when the return code is not 0, so that it
25 + # behaves like the original shell script which was run with 'set -e'?
I think so.
Do we need shell=True? I assume we do, but using it as little as possible
would be good.
Thanks,
James