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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

c++ - Update and multiple console windows -