[Mono-bugs] [Bug 357062] [PATCH]System.Diagnostics.Process.GetCurrentProcess(). MainModule.FileName does not return the full path.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 17 21:03:58 EDT 2008


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

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


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gnorton at novell.com




--- Comment #8 from Geoff Norton <gnorton at novell.com>  2008-04-17 19:03:57 MST ---
This patch causes regressions on OSX.

The following testcase:

class X {
       static public void Main() {
              
System.Console.WriteLine(System.Diagnostics.Process.GetCurrentProcess().ProcessName);
       }
}

Now reports:

Unhandled Exception: System.SystemException: The process has exited
  at System.Diagnostics.Process.get_ProcessName () [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:get_ProcessName ()
  at X.Main () [0x00000] 


-- 
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