mail-archives/mono-bugs/2003-March/004151.html

131 строка
4.1 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 39267][Nor] New - System.Diagnostics.Process.HasExited always return false
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="004150.html">
<LINK REL="Next" HREF="004152.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 39267][Nor] New - System.Diagnostics.Process.HasExited always return false
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 39267][Nor] New - System.Diagnostics.Process.HasExited always return false">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Fri, 7 Mar 2003 04:53:30 -0500 (EST)</I>
<P><UL>
<LI> Previous message: <A HREF="004150.html">[Mono-bugs] [Bug 39264][Nor] New - System.Environment.Version returns {0,0,-1,-1}
</A></li>
<LI> Next message: <A HREF="004152.html">[Mono-bugs] [Bug 39280][Nor] New - StreamReader.Peek () should throw when base stream is closed
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4151">[ date ]</a>
<a href="thread.html#4151">[ thread ]</a>
<a href="subject.html#4151">[ subject ]</a>
<a href="author.html#4151">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:yannis.bres@sophia.inria.fr.">yannis.bres@sophia.inria.fr.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=39267">http://bugzilla.ximian.com/show_bug.cgi?id=39267</A>
--- shadow/39267 Fri Mar 7 04:53:30 2003
+++ shadow/39267.tmp.32445 Fri Mar 7 04:53:30 2003
@@ -0,0 +1,67 @@
+Bug#: 39267
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details: XP
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Normal
+Component: System
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:Yannis.BRES@sophia.inria.fr">Yannis.BRES@sophia.inria.fr</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Diagnostics.Process.HasExited always return false
+
+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
+instance):
+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( &quot;process.HasExited: {0}&quot;,
+process.HasExited );
+ Thread.Sleep( 250 );
+ }
+ }
+}
+
+Actual Results:
+&lt; process output &gt;
+process.HasExited: False
+process.HasExited: False
+process.HasExited: False
+...
+&lt;until killed&gt;
+
+Expected Results:
+&lt; process output &gt;
+process.HasExited: False
+process.HasExited: False
+... for a while ...
+process.HasExited: True
+process.HasExited: True
+process.HasExited: True
+...
+&lt;until killed&gt;
+
+How often does this happen?
+Always
+
+Additional Information:
+Your keyword list sucks
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="004150.html">[Mono-bugs] [Bug 39264][Nor] New - System.Environment.Version returns {0,0,-1,-1}
</A></li>
<LI> Next message: <A HREF="004152.html">[Mono-bugs] [Bug 39280][Nor] New - StreamReader.Peek () should throw when base stream is closed
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4151">[ date ]</a>
<a href="thread.html#4151">[ thread ]</a>
<a href="subject.html#4151">[ subject ]</a>
<a href="author.html#4151">[ author ]</a>
</LI>
</UL>
</body></html>