[Mono-bugs] [Bug 333741] New: System.Diagnostics.Process.GetCurrentProcess(). ProcessName returns 'mono' instead of process name

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 14 16:28:15 EDT 2007


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

           Summary: System.Diagnostics.Process.GetCurrentProcess().ProcessNa
                    me returns 'mono' instead of process name
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: i386
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: rlai at irismedia.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Description of Problem:
System.Diagnostics.Process.GetCurrentProcess().ProcessName
returns 'mono' instead of process name


Steps to reproduce the problem:
Console.WriteLine("ProcessName[" + Process.GetCurrentProcess().ProcessName +
"]");


Actual Results:
ProcessName[mono]


Expected Results (if executable is 'processname.exe':
ProcessName[processname]


How often does this happen? 
always

Additional Information:
works correctly on linux


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


More information about the mono-bugs mailing list