This is Linux, so I assume you're using bash (works with ksh too but not tcsh):

someCommand > stdout.txt 2> stderr.txt &

This redirects stdout and stderr to files and puts the process in the background while 
it runs.

Tim
-- 
Tim Larson          <><   <><   <><   <><   <><
Info. Services - Internal Medicine Clinical Systems, Mayo Clinic, Rochester
Protective of your Constitutional freedoms?  Kovatchevich for US Senate.

> -----Original Message-----
> From: Richard Weltman [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 6:35 AM
> To:   [EMAIL PROTECTED]
> Subject:      newbie piping (?) output from ./start command
> 
> hello - if anyone can help with a dumb newbie
> question - how can I capture the output from a
> 
> ./start & 
> 
> command, when trying to start a zope server ?
> 
> ./start & >> zopeerror.txt
> 
> makes an empty file (Yellow Dog Linux 2.3)
> 
> (the server won't start because of a pid error,
> if there are any takers !! i want to be able to mail
> the zope list with the console output. Interestingly
> I get the same error, at a different line number,
> when using the Mac OS X binaries..)
> 
> TIA
> 
> Richard
> 

-- 
MaX-list is sponsored by <http://lowendmac.com/> and...

    /      Buy books, CDs, videos, and more from Amazon.com     \
   / <http://www.amazon.com/exec/obidos/redirect-home/lowendmac> \

      Support Low End Mac <http://lowendmac.com/lists/support.html>

MaX-list info:          <http://lowendmac.com/linux/max.shtml>
Send list messages to:  <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/max-list%40mail.maclaunch.com/>

Using a Macintosh? Get free email and more at Applelinks! 
<http://www.applelinks.com>

Reply via email to