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


Groups > comp.lang.python > #90248

Re: Jython from bathc file?

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63
Path csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!news.muarf.org!news.roellig-ltd.de!open-news-network.org!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'finished,': 0.07; 'remaining': 0.07; 'subject:file': 0.07; 'windows,': 0.09; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'wrote:': 0.18; 'things.': 0.19; 'meant': 0.20; 'header:User- Agent:1': 0.23; 'connected': 0.24; 'question': 0.24; 'header:In- Reply-To:1': 0.27; 'unix': 0.29; 'dos': 0.30; "i'm": 0.30; '(which': 0.31; 'pipe': 0.31; 'purely': 0.31; 'file': 0.32; 'stuff': 0.32; 'run': 0.32; 'running': 0.33; 'subject:from': 0.34; 'done,': 0.36; 'subject:?': 0.36; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'read': 0.60; 'commands': 0.60; 'no.': 0.61; 'charset:windows-1252': 0.65; 'close': 0.67; 'bypasses': 0.84
X-Virus-Scanned amavisd-new at torriefamily.org
Date Sat, 09 May 2015 16:54:39 -0600
From Michael Torrie <torriem@gmail.com>
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
Content-Transfer-Encoding 7bit
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.291.1431212091.12865.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431212091 news.xs4all.nl 2953 [2001:888:2000:d::a6]:53600
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90248

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