[MonoDevelop] Killing process

Leonel Florin Selles leonel06013 at cfg.jovenclub.cu
Mon Mar 14 18:05:14 EDT 2011


Hi everyone:

Well I'm trying to kill a Unix process from C#, with the method kill() of
the System.Diagnostic.Process, once I got the process to kill, i kill it
and I get this error

Unhandled Exception: System.SystemException: No process to kill.
  at System.Diagnostics.Process.Close (Int32 signo) [0x0004f] in
/tmp/buildd/mono-2.6.7/mcs/class/System/System.Diagnostics/Process.cs:804
  at System.Diagnostics.Process.Kill () [0x00000] in
/tmp/buildd/mono-2.6.7/mcs/class/System/System.Diagnostics/Process.cs:921
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Kill ()
  at pepe.MainClass.Main (System.String[] args) [0x00049] in
/root/Projects/pepe/Main.cs:17

it is like the process was close but the process is open and working, i'm
using Debian 6 with KDE 4.



More information about the Monodevelop-list mailing list