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


Groups > comp.lang.java.programmer > #18383

Re: trying to redirect both std out and err to a file together and still err to a separate file

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: trying to redirect both std out and err to a file together and still err to a separate file
Date Wed, 29 Aug 2012 00:28:48 -0700
Organization Canadian Mind Products
Lines 20
Message-ID <ssgr38la6v42o4qi6ktd09sidhhbknj202@4ax.com> (permalink)
References <k1k0h5$jt5$1@speranza.aioe.org>
Reply-To Roedy Green <see_website@mindprod.com.invalid>
NNTP-Posting-Host K2Qzzs3EAqXk5RLzfhxcSw.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Forte Agent 6.00/32.1186
Xref csiph.com comp.lang.java.programmer:18383

Show key headers only | View raw


On Wed, 29 Aug 2012 02:58:45 +0000 (UTC),
qwertmonkey@syberianoutpost.ru wrote, quoted or indirectly quoted
someone who said :

> Lew you are right the thread started on comp.unix.shell. It does however
>related to java

If you do it with a shell, you potentially need a different script for
each platform. If you do it inside the Java program, it works
everywhere.  However, it is usually easier to modify a shell than a
Java program.

see System.setErr System.setOut
-- 
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

trying to redirect both std out and err to a file together and still err to a separate file qwertmonkey@syberianoutpost.ru - 2012-08-29 02:58 +0000
  Re: trying to redirect both std out and err to a file together and still err to a separate file Roedy Green <see_website@mindprod.com.invalid> - 2012-08-29 00:28 -0700

csiph-web