Message327004
subprocess.run('ls', input=b'', stdin=None) # this is ok
kwargs = {'input': b'', 'stdin': None}
subprocess.run('ls', **kwargs) # this throws exception
The two calls should have the same behaviour, but one throws exception and the other doesn't. I think the exception shouldn't be thrown, because stdin is None. |
|
Date |
User |
Action |
Args |
2018-10-03 19:22:57 | aecant | set | recipients:
+ aecant, serhiy.storchaka |
2018-10-03 19:22:57 | aecant | set | messageid: <1538594577.58.0.545547206417.issue34886@psf.upfronthosting.co.za> |
2018-10-03 19:22:57 | aecant | link | issue34886 messages |
2018-10-03 19:22:57 | aecant | create | |
|