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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -