Jython from bathc file?

Michael Torrie torriem at gmail.com
Sat May 9 18:54:39 EDT 2015


On 05/09/2015 03:04 PM, vjp2.at at at.BioStrategist.dot.dot.com wrote:
> Thanks.. I suspected it wasn't meant to be taken as in the file
> 
> THe one thing I'm not sure if Jython is suppsosedto keep running
> after the initisl stuff is loaded in..
> 
> 
> To put the question in purely DOS terms if you run a program can you pipe it
> some commands and then keep it running to take the remaining commands from
> the console?

No.  When the sending program is finished, it will close the pipe. This
is how it works on both Unix and Windows, if I'm not mistaken.  On Unix
you might be able to read from standard in until it's done, then connect
to a pseudo-tty and do interactive things.  This bypasses standard in
though (which was connected to the pipe).



More information about the Python-list mailing list