Author jeff.allen
Recipients jeff.allen, mga792, psykiatris
Date 2018-04-07.08:10:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
return p.communicate(input)  <-------NOT fine. Maybe because it's trying to put something back in the stream.

Not really "back in the stream". It writes to the stdin of the subprocess.

Suppose on Jython you try essentially Mary's code, but with a command we've got (like the normal ping). Do you get the output you expect from p.communicate() ?

Now from p.communicate("\n"*10) ?

And on CPython 2?
Date User Action Args
2018-04-07 08:10:39jeff.allensetmessageid: <>
2018-04-07 08:10:39jeff.allensetrecipients: + jeff.allen, psykiatris, mga792
2018-04-07 08:10:39jeff.allenlinkissue2664 messages
2018-04-07 08:10:38jeff.allencreate