Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90248

Re: Jython from bathc file?

Date 2015-05-09 16:54 -0600
From Michael Torrie <torriem@gmail.com>
Subject Re: Jython from bathc file?
References <mijh9c$nv6$2@reader1.panix.com> <milsp5$fg8$1@reader1.panix.com>
Newsgroups comp.lang.python
Message-ID <mailman.291.1431212091.12865.python-list@python.org> (permalink)

Show all headers | View raw


On 05/09/2015 03:04 PM, vjp2.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).

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-08 23:36 +0000
  Re: Jython from bathc file? Todd Vargo <tlvargo@sbcglobal.netz> - 2015-05-09 06:17 -0400
  Re: Jython from bathc file? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-09 20:29 +1000
  Re: Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-09 21:04 +0000
    Re: Jython from bathc file? Michael Torrie <torriem@gmail.com> - 2015-05-09 16:54 -0600
    Re: Jython from bathc file? Dave Angel <davea@davea.name> - 2015-05-09 19:51 -0400
      Re: Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-10 02:25 +0000
        Re: Jython from bathc file? Rustom Mody <rustompmody@gmail.com> - 2015-05-09 19:36 -0700
      Re: Jython from bathc file? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-09 23:26 -0400
      Re: Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-10 02:18 +0000

csiph-web