[Mono-devel-list] Bug in System.Diagnostics.Process.MainModule?

Jambunathan Jambunathan kjambunathan at novell.com
Thu Aug 26 02:40:18 EDT 2004


> I was a bit hesitant to post a bug myself before confirming 
> that it really is a problem. Any thoughts?

Open Bug in Bugzilla anyways. Either it will be addressed or closed
when owners get to view Bugzilla.

Regards,
Jambunathan K.


>>> Ankur Kotwal <ankur.kotwal at gmail.com> 8/26/2004 5:03:01 AM >>>
Howdy all,

While writing a small console application I ran across the following
bug in System.Diagnostics.Process.MainModule. The bug is present in
Mono 1.0 and Mono 1.0.1 on Windows (confirmed on XP and 2000).

I've attached a small source file that demonstrates the bug. The
output of the program is to list the process name and its full path.
When I run the application using MS .NET, the program works as
expected. When I run it under mono however, the program lists the
process names correctly but the process path is always the name of my
program (i.e. it displays D:\proj\bug.exe as the process path for all
listed processes). Is this a bug or something stupid that I am doing?

I am not sure that this is the right list to be posting this
information to. I searched the ximian bugzilla but could not find
anything reported on this. I was a bit hesitant to post a bug myself
before confirming that it really is a problem. Any thoughts?

-- 
Kind Regards,
Ankur Kotwal



More information about the Mono-devel-list mailing list