bash - Kill all processes launched inside an xterm when exit -
i'm using cygwin start servers.
each server launched inside xterm bunch of command one:
xterm -e $my_cmd /c &
is there easy way kill launched children (xterm , running commands) in row ?
i want able kill particular launched command when close parent xterm.
someone knows how perform ?
killall xterm
? command in psmisc package. xterm notify child process sighup
("hangup") before exits. cause child process exit too, although servers interpret signal differently.
Comments
Post a Comment