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


Groups > comp.lang.python > #90251

Re: Jython from bathc file?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.066
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'remaining': 0.07; 'subject:file': 0.07; "wouldn't": 0.14; 'progression': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'meant': 0.20; 'header:User- Agent:1': 0.23; 'question': 0.24; 'source': 0.25; 'header:In- Reply-To:1': 0.27; 'feature': 0.29; 'dos': 0.30; "i'm": 0.30; 'pipe': 0.31; 'purely': 0.31; 'file': 0.32; 'stuff': 0.32; 'run': 0.32; 'running': 0.33; 'subject:from': 0.34; 'subject:?': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'commands': 0.60; 'took': 0.61; 'charset:windows-1252': 0.65; 'received:74.208': 0.68; 'as:': 0.81; 'received:74.208.4.194': 0.84
Date Sat, 09 May 2015 19:51:41 -0400
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Jython from bathc file?
References <mijh9c$nv6$2@reader1.panix.com> <milsp5$fg8$1@reader1.panix.com>
In-Reply-To <milsp5$fg8$1@reader1.panix.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V03:K0:yIDsPmb/DwsRJ8xx9uiTDGhmu/XEPZ6YrwiDGs/yMZlSSj+HRFa C8wcDJiuoVVCjzJlX6xZySgbYt89vNAe6L45647o4pX974V/48c0XcML1pOjyA0/xZmtvSe s79nc9N30ptIeSlxKC/BmC8PFIaVPJZmSvohDSlPAlJyH/XXK6/PswpmOM+sHl7W1WsZapW g3Qt9PPvwl9lHw8V3vHaA==
X-UI-Out-Filterresults notjunk:1;
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.294.1431215521.12865.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431215521 news.xs4all.nl 2884 [2001:888:2000:d::a6]:40147
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90251

Show key headers only | 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