Problems with Job Control in csh

Marc Unangst mju at mudos.ann-arbor.mi.us
Thu Apr 11 08:57:18 AEST 1991


pfalstad at 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 at mudos.ann-arbor.mi.us  | "Bus error: passengers dumped"
...!hela!mudos!mju         | 



More information about the Comp.unix.shell mailing list