Author brent saner
Recipients brent saner
Date 2017-05-14.04:05:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is reproducible on both 2.7.13 and 3.6.1.

Please refer to the attached files for demonstration. It seems that when I spawn a python script using getpass.getpass() from expect ( - I'm using version 5.45), the input is not passed. Further, it seems interactive control is handed over to the shell- however, it doesn't actually pass anything to the python script that was spawned, forcing one to break out of the expect process itself.

Obviously, the proofs attached require the expect binary to be installed. To test, simply mark "poc.exp" as executable and execute it (assuming is in the same directory. If not, you'll need to edit line 4 of poc.exp).
Date User Action Args
2017-05-14 04:05:40brent sanersetrecipients: + brent saner
2017-05-14 04:05:40brent sanersetmessageid: <>
2017-05-14 04:05:40brent sanerlinkissue30360 messages
2017-05-14 04:05:39brent sanercreate