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 terry.reedy
Recipients BreamoreBoy, Weird, amaury.forgeotdarc, benjamin.peterson, chn, denversc, georg.brandl, jmfauth, kevinwatters, terry.reedy, tlesher, trentm, twhitema
Date 2014-06-11.00:15:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Mark, you did not specify which of the variations you tried ;-) I reproduce as I said in my last message.

C:\Programs\Python34>pythonw -m idlelib

Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [
>>> import subprocess
>>> p = subprocess.Popen(["python", "-c", "print(32)"], stdin=None,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Traceback (most recent call last):
OSError: [WinError 6] The handle is invalid

Change startup command from pythonw to python, no error, and it runs.
>>> p.communicate()
(b'32\r\n', b'')
Date User Action Args
2014-06-11 00:15:30terry.reedysetrecipients: + terry.reedy, georg.brandl, amaury.forgeotdarc, kevinwatters, tlesher, benjamin.peterson, trentm, jmfauth, twhitema, Weird, BreamoreBoy, denversc, chn
2014-06-11 00:15:29terry.reedysetmessageid: <>
2014-06-11 00:15:29terry.reedylinkissue3905 messages
2014-06-11 00:15:27terry.reedycreate