[Mono-bugs] [Bug 313231] System.Diagnostics.Process.GetProcesses() Not Implemented Properly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 7 09:10:49 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=313231

User dick at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=313231#c8





--- Comment #8 from Dick Porter <dick at novell.com>  2008-07-07 07:10:48 MDT ---
(In reply to comment #4 from Gert Driesen)
> Dick, should it also be possible to kill these processes?
> 
> I have a test for this that fails (see gert/standalone/bug319992), stating that
> the process already finished (but it's not).
> 
> If this is by design, then feel free to close the report again.
> 

It's happening because Process.Close() (via Process.Kill()) gets the exit code
of the process, so it can throw the correct exception if the process has
already exited.  If the process is not a mono process we have no way of finding
out the exit code, so therefore we return a fail from GetExitCodeProcess.

I could probably rearrange things to work around this, when I have some time.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list