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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -