View Single Post

   
  #1 (permalink)  
Old 01-05-2008, 11:09 AM
Robin
 
Posts: n/a
Default redirect for stdout in ${command_line}

Greetings!

I want to build and submit a command from within ksh to initiate a
nohup background process, and redirect the stdout to another file...

I'm having trouble with the way ">" gets parsed when using ${...}

Either the line gets broken into two lines (if using "\")...

....or the ">" does not get recognized as a redirect, but rather as part
of the command invoking the executable (ERROR: Unknown command line
option >)...

Any help would be greatly appreciated...

Regards;

--
_______________________________
Robin Arthur Gustavson
Affiliated Computer Services, Inc.
TSG / Filenet / Dallas
Robin.Gustavson@acs-inc.com
214-584-5795
142*784*229

Reply With Quote