зеркало из https://github.com/mono/mail-archives.git
127 строки
5.0 KiB
HTML
127 строки
5.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 75273][Cri] New - The 'process.HasExited' flag
|
|
does not give a correct value
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075273%5D%5BCri%5D%20New%20-%20The%20%27process.HasExited%27%20flag%0A%09does%20not%20give%20a%20correct%20value&In-Reply-To=bug-75273%40chernobyl.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="030452.html">
|
|
<LINK REL="Next" HREF="030454.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 75273][Cri] New - The 'process.HasExited' flag
|
|
does not give a correct value</H1>
|
|
<B>bugzilla-daemon at bugzilla.ximian.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075273%5D%5BCri%5D%20New%20-%20The%20%27process.HasExited%27%20flag%0A%09does%20not%20give%20a%20correct%20value&In-Reply-To=bug-75273%40chernobyl.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 75273][Cri] New - The 'process.HasExited' flag
|
|
does not give a correct value">bugzilla-daemon at bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Wed Jun 15 03:10:13 EDT 2005</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="030452.html">[Mono-bugs] [Bug 75263][Nor] Changed - OdbcDataReader.cs bug in
|
|
GetPrimaryKeys() method
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030454.html">[Mono-bugs] [Bug 75273][Cri] Changed - The 'process.HasExited' flag
|
|
does not give a correct value
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30453">[ date ]</a>
|
|
<a href="thread.html#30453">[ thread ]</a>
|
|
<a href="subject.html#30453">[ subject ]</a>
|
|
<a href="author.html#30453">[ 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="http://lists.ximian.com/mailman/listinfo/mono-bugs">tjain at novell.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75273">http://bugzilla.ximian.com/show_bug.cgi?id=75273</A>
|
|
|
|
--- shadow/75273 2005-06-15 03:10:11.000000000 -0400
|
|
+++ shadow/75273.tmp.12973 2005-06-15 03:10:12.000000000 -0400
|
|
@@ -0,0 +1,53 @@
|
|
+Bug#: 75273
|
|
+Product: Mono: Class Libraries
|
|
+Version: 1.1
|
|
+OS: NLD 9
|
|
+OS Details:
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity:
|
|
+Priority: Critical
|
|
+Component: System
|
|
+AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
|
|
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">tjain at novell.com</A>
|
|
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Cc:
|
|
+Summary: The 'process.HasExited' flag does not give a correct value
|
|
+
|
|
+Description of Problem:
|
|
+In my program, I am creating a new process. I read from the redirected
|
|
+output/error streams of the process till the timeout is occuring or the
|
|
+streams close. (The streams will close when the process ends)
|
|
+After this, I make a check to see if the process has exited by using
|
|
+the 'process.HasExited'flag.
|
|
+
|
|
+Even in the case when the process has exited, and the error/output
|
|
+streams have closed, the 'process.HasExited' flag returns a false value,
|
|
+which is incorrect.
|
|
+
|
|
+I see this problem in the latest version of mono i.e. 1.1.7.2 In the
|
|
+earlier version of mono like (1.1.3) this works fine and returns a true
|
|
+value.
|
|
+
|
|
+Steps to reproduce the problem:
|
|
+1. Compile and Execute the attached test code
|
|
+
|
|
+
|
|
+Actual Results:
|
|
+In this test code, there is a class called Executor which launches a new
|
|
+process to do the operation 'cp a b'. The timeout value is set to 20
|
|
+secs, but this process would end much before the timeout occurs. Still
|
|
+pr.HasExited returns a false value.
|
|
+
|
|
+Expected Results:
|
|
+pr.HasExited should give a true value.
|
|
+
|
|
+
|
|
+How often does this happen?
|
|
+Always
|
|
+
|
|
+Additional Information:
|
|
+When this testcode is executed with mono version 1.1.3, pr.hasExited
|
|
+correctly returns a true value.
|
|
</PRE>
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="030452.html">[Mono-bugs] [Bug 75263][Nor] Changed - OdbcDataReader.cs bug in
|
|
GetPrimaryKeys() method
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030454.html">[Mono-bugs] [Bug 75273][Cri] Changed - The 'process.HasExited' flag
|
|
does not give a correct value
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30453">[ date ]</a>
|
|
<a href="thread.html#30453">[ thread ]</a>
|
|
<a href="subject.html#30453">[ subject ]</a>
|
|
<a href="author.html#30453">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|