From d6088ab1f0e058c35cab4ef247231ca07d456de4 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 24 Oct 2001 01:27:45 +0000 Subject: and add a way to get some more spew about the commands we're executing. 2001-10-23 Chris Toshok * tools/killev: and add a way to get some more spew about the commands we're executing. svn path=/trunk/; revision=13971 --- tools/killev | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tools/killev') diff --git a/tools/killev b/tools/killev index b92d0303f6..0745d013e0 100755 --- a/tools/killev +++ b/tools/killev @@ -1,5 +1,8 @@ #!/usr/bin/perl +# set to 1 if you want some extra spew +$debug=0; + # Interfaces of CORBA servers that need to die. @idls = ("IDL:GNOME/Evolution/ShellComponent:1.0", "IDL:GNOME/Evolution/CalFactory:1.0", @@ -38,9 +41,17 @@ sub kill_exe { printf ("killing $exe_name\n"); $redirect = "2> /dev/null"; + + print "$killcmd -9 $exe_name\n" if ($debug); `$killcmd -9 $exe_name $redirect`; + + print "$killcmd -9 $lt_name\n" if ($debug); `$killcmd -9 $lt_name $redirect`; + + print "$killcmd -9 $sub_exe_name\n" if ($debug); `$killcmd -9 $sub_exe_name $redirect`; + + print "$killcmd -9 $sub_lt_name\n" if ($debug); `$killcmd -9 $sub_lt_name $redirect`; } -- cgit