On 12/14/2016 09:29 PM, Samuel Williams wrote:
> Here are some examples of different languages:
> 
> https://github.com/ioquatix/script-runner/blob/master/examples/python-eot.py

Okay so it looks like you're just opening a pipe to a subprocess and
feeding it a script and input.  So there's no pty involved here.  Or am
I wrong?

In any case, I think if you made a python wrapper script that could take
the standard in up until the ctrl-d, and then exec() that, what's left
on standard in should be able to feed the exec'd script any input it needs.


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to