[Mono-devel-list] Processes in Mono
Colt Majkrzak
majkrzak at gmail.com
Thu Jul 29 18:40:25 EDT 2004
Hello, im trying to write a program that checks if the pid exists or not.
The code works great in windows with MS's framework, but for some reason
under mono in linux im getting:
Unhandled Exception: System.ArgumentException: Can't find process with ID
21245
in <0x0005e> System.Diagnostics.Process:GetProcessById (int)
in <0x00172> StatusServer.statusserver:shoutcaststatus (string)
in <0x0010c> StatusServer.MainS:Main (string[])
# ps 21245
PID TTY STAT TIME
21245 ? SN 0:08
I believe this also relates to why I cannot kill a pid from within mono
under linux. Please help!
Thanks.
More information about the Mono-devel-list
mailing list