This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Mark.Shannon
Date 2018-05-15.19:14:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526411661.08.0.682650639539.issue33525@psf.upfronthosting.co.za>
In-reply-to
Content
>>> os.spawnvpe(os.P_WAIT, "python2", ["python2", "-c", "print 'Hello World!'"], {})
Hello World!
0
>>> os.spawnvpe(os.P_WAIT, "python2", ["python2", "-c", "print 'Hello World!'"], None)
127

The latter should raise an exception of some sort.


From error found on lgtm.com

https://lgtm.com/projects/g/python/cpython/snapshot/404ccc0aa78cd896ecb025571633a68b7292e8d4/files/Lib/os.py?sort=name&dir=ASC&mode=heatmap&showExcluded=false#xf40b8a11dc3c558c:1
History
Date User Action Args
2018-05-15 19:14:21Mark.Shannonsetrecipients: + Mark.Shannon
2018-05-15 19:14:21Mark.Shannonsetmessageid: <1526411661.08.0.682650639539.issue33525@psf.upfronthosting.co.za>
2018-05-15 19:14:21Mark.Shannonlinkissue33525 messages
2018-05-15 19:14:20Mark.Shannoncreate