[Mono-bugs] [Bug 436784] New: System.Diagnostics.Process.HasExited always return false

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 19 12:15:26 EDT 2008


User andrew at coupesonline.com added comment

           Summary: System.Diagnostics.Process.HasExited always return false
           Product: Mono: Runtime
           Version: 2.0
          Platform: Other
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andrew at coupesonline.com
         QAContact: mono-bugs at lists.ximian.com
        Depends on: 312083
          Found By: Beta-Customer

+++ This bug was initially created as a clone of Bug #312083 +++

I just tested for this issue on the 2.0_4 build of the Mono runtime and the bug
appears to have NOT been fixed.  The same behavior occurs and the same error is
generated as originally reported.  OS is Mac 0S 10.4.  Source code is VB.NET
using a .NET 2.0 exe.

---- Reported by Yannis.BRES at sophia.inria.fr 2003-03-07 04:53:30 MST ----

Description of Problem:
System.Diagnostics.Process.HasExited always return false

Steps to reproduce the problem:
Compile and run the following program with dir or ls as argument (for 
using System;
using System.Diagnostics;
using System.Threading;

class System_Diagnostics_Process_HasExited
  public static void Main( String[]  args )
                Process               process= Process.Start( args[0] );

                while (true)
                        Console.Error.WriteLine( "process.HasExited: {0}", 
process.HasExited );
                        Thread.Sleep( 250 );

Actual Results:
< process output >
process.HasExited: False
process.HasExited: False
process.HasExited: False
<until killed>

Expected Results:
< process output >
process.HasExited: False
process.HasExited: False
.. for a while ...
process.HasExited: True
process.HasExited: True
process.HasExited: True
<until killed>

How often does this happen? 

Additional Information:
Your keyword list sucks

---- Additional Comments From dick at ximian.com 2003-03-19 11:27:28 MST ----

Fixed in CVS

Unknown bug field "cf_op_sys_details" encountered while moving bug
Unknown operating system unknown. Setting to default OS "Other".
Skipping unknown keyword: feature.

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