[Mono-bugs] [Bug 51445][Nor] New - System.Diagnostics.Process.GetProcesses() Not Implemented Properly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 27 Nov 2003 12:44:09 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ben@griffin.com.

http://bugzilla.ximian.com/show_bug.cgi?id=51445

--- shadow/51445	2003-11-27 12:44:09.000000000 -0500
+++ shadow/51445.tmp.27250	2003-11-27 12:44:09.000000000 -0500
@@ -0,0 +1,68 @@
+Bug#: 51445
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Debian Woody
+OS Details: kernel 2.4.21
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ben@griffin.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Diagnostics.Process.GetProcesses() Not Implemented Properly
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+System.Diagnostics.Process.GetProcesses() returns only one process, itself.
+
+Steps to reproduce the problem:
+1. Compile/Run code supplied to demonstrate
+2. Sample output supplied also
+3. Sample Code:
+
+// Created to test System.Diagnostics.Process Class
+// Tests: Process.GetProcesses()
+
+
+using System;
+using System.Diagnostics;
+
+namespace proctest
+{
+        class ProcTest
+        {
+                static void Main(string[] args)
+                {
+                        Console.Out.WriteLine("ProcessList:");
+                        foreach(Process proc in Process.GetProcesses())
+                        {
+                                Console.Out.WriteLine(proc.ProcessName);
+                        }
+
+                }
+        }
+}
+
+
+Actual Results:
+--- snip ---
+ProcessList:
+proctest
+--- end ---
+
+Expected Results:
+
+More processes in the returned array (Process[])
+
+How often does this happen? 
+
+n/a
+
+
+Additional Information: