Re: running "python -i" in subprocess shows no prompt

2019-03-19 Thread finnkochinski
Thanks for letting me know that the list takes no attachments. Please find my modified code at the end of this email. I found one problem. I was reading streams with "proc.stderr.readline()", which never returned, because only ">>> " was sent to stderr repeatedly, "\n" only going to stdout. Now

running "python -i" in subprocess shows no prompt

2019-03-18 Thread finnkochinski
Hello, I try to start a separate python subprocess using the attached code. This example should catch all stdout and stderr output from the launched subprocess and send commands to its stdin. The problem is that the prompt ">>>" asking for then next input is neither sent to stdout nor to stderr.