diff options
author | Chris Toshok <toshok@ximian.com> | 2001-10-24 09:27:45 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-10-24 09:27:45 +0800 |
commit | d6088ab1f0e058c35cab4ef247231ca07d456de4 (patch) | |
tree | 499acb0edb1ed120ca8aac0bf75c59966fc9ac6c /tools/killev | |
parent | d92ea7b8abb7beeb5e92e46a7ba142313d5c54a6 (diff) | |
download | gsoc2013-evolution-d6088ab1f0e058c35cab4ef247231ca07d456de4.tar gsoc2013-evolution-d6088ab1f0e058c35cab4ef247231ca07d456de4.tar.gz gsoc2013-evolution-d6088ab1f0e058c35cab4ef247231ca07d456de4.tar.bz2 gsoc2013-evolution-d6088ab1f0e058c35cab4ef247231ca07d456de4.tar.lz gsoc2013-evolution-d6088ab1f0e058c35cab4ef247231ca07d456de4.tar.xz gsoc2013-evolution-d6088ab1f0e058c35cab4ef247231ca07d456de4.tar.zst gsoc2013-evolution-d6088ab1f0e058c35cab4ef247231ca07d456de4.zip |
and add a way to get some more spew about the commands we're executing.
2001-10-23 Chris Toshok <toshok@ximian.com>
* tools/killev: and add a way to get some more spew about the
commands we're executing.
svn path=/trunk/; revision=13971
Diffstat (limited to 'tools/killev')
-rwxr-xr-x | tools/killev | 11 |
1 files changed, 11 insertions, 0 deletions
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`; } |