Distinguish sequence or text type for ‘os.popen’ command parameter.
commit3d1933e0af114770dcb6b66d2e81e4585a67a645
authorBen Finney <ben+debian@benfinney.id.au>
Wed, 16 Sep 2015 02:21:43 +0000 (16 12:21 +1000)
committerBen Finney <ben+debian@benfinney.id.au>
Sat, 27 Aug 2016 04:13:31 +0000 (27 14:13 +1000)
treee0e9bc4b0be39b443c6572ce4a185365aee4bb52
parent8c044b81e190c2c0cc24626d86efaac50dcc24fb
Distinguish sequence or text type for ‘os.popen’ command parameter.

The ‘os.popen’ documentation specifies that, on Unix, the command
parameter may already be a sequence of command-line arguments. We
handle this by normalising the parameter to a sequence, splitting it
if it was a single string.
test/helper.py