Author psykiatris
Recipients mga792, psykiatris
Date 2018-04-04.05:47:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Mary, I read up on the documentation for the subprocess module, and learned a couple of things:

PIPE indicates that a
    new pipe to the child should be created.

        If the stdin argument is PIPE, this attribute is a file object
        that provides input to the child process.  Otherwise, it is None.
That being said, when I debugged your code, both PIPE and stdin were returning -1. So, I manually passed a string and a file via PIPE, and stdin is still closing the stream., apparently, with a obscure IOError.

On a side note, Jeff or Jim, i notieced that subprocess does a test for jython, it sets the stdin, stdout, and stderr to None. Is that the expected behavior?
Date User Action Args
2018-04-04 05:47:47psykiatrissetmessageid: <>
2018-04-04 05:47:47psykiatrissetrecipients: + psykiatris, mga792
2018-04-04 05:47:47psykiatrislinkissue2664 messages
2018-04-04 05:47:47psykiatriscreate