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

Ankur Kotwal ankur.kotwal at gmail.com
Tue Aug 24 23:59:06 EDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.cs
Type: application/octet-stream
Size: 401 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040825/a78dbc11/attachment.obj 


More information about the Mono-devel-list mailing list