Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!umich!sharkey!rjf001!mudos!mju From: mju@mudos.ann-arbor.mi.us (Marc Unangst) Newsgroups: comp.unix.shell Subject: Re: Problems with Job Control in csh Message-ID: <86J8Z1w164w@mudos.ann-arbor.mi.us> Date: 10 Apr 91 22:57:18 GMT References: <8075@idunno.Princeton.EDU> Organization: The Programmer's Pit Stop, +1 313 665 2832 Lines: 16 pfalstad@phoenix.Princeton.EDU (Paul Falstad) writes: > xterm -e "foobar" & > # ... > kill -9 $! Blech. Here, try this: TEMP=/tmp/$$.`whoami` (xterm -e "foobar" &) 2>$TEMP # ... kill -9 `cat $TEMP` -- Marc Unangst | mju@mudos.ann-arbor.mi.us | "Bus error: passengers dumped" ...!hela!mudos!mju |