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


Groups > comp.lang.python > #90251

Re: Jython from bathc file?

Date 2015-05-09 19:51 -0400
From Dave Angel <davea@davea.name>
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.294.1431215521.12865.python-list@python.org> (permalink)

Show all headers | View raw


On 05/09/2015 05: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?
>

That's not a built-in feature of cmd.exe.  However, it wouldn't be hard 
to write a data source (funny.exe) that took data from a file, and then 
from stdin, sending both in progression to stdout.  Then you'd run the 
two programs as:

funny.exe infile.txt | newprog.exe


-- 
DaveA

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