Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Keep track of stopped processes via shell variables' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Keep track of stopped processes via shell variables
Authored by: LC on Dec 15, '03 12:39:15PM
Also, in a shell wrapper the pid of a launched (bg) command is available -- (csh)
some_command & ; set pid = ${!}
kill ${pid}


(sh)
pid=${!}

Larry.

[ Reply to This | # ]