[Mono-list] System.Diagnostics.Process

Dick Porter dick@ximian.com
Wed, 15 Sep 2004 19:39:00 +0100


On Wed, 2004-09-15 at 14:19 -0400, Loren Bandiera wrote:
> When I try and run this Process.GetProcessesByName seems to return an
> empty array.  Process.GetProcessById throws an exception because it can't
> find the process ID.
> 
> Looking around I found this bug report:
> http://bugzilla.ximian.com/show_bug.cgi?id=51445
> 
> Raading about the bug it appears that the Process class can only get
> process information for the current Mono shared memory space.  That would
> make System.Diagnostics.Process un-usable for what I need to do.
> 
> The bug report implies this can't be fixed due to dependency issues.  Is
> that correct?

It can be fixed, but doing so efficiently will be hard.  It's not high
on the TODO list either.

- Dick