[Mono-bugs] [Bug 45302][Cos] Changed - Mono should throw bug when getting exit code of unfinished process

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 24 Jun 2003 15:26:51 -0400 (EDT)


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 gert.driesen@pandora.be.

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

--- shadow/45302	Tue Jun 24 14:53:35 2003
+++ shadow/45302.tmp.27093	Tue Jun 24 15:26:51 2003
@@ -78,6 +78,19 @@
 }		
 
 
 Obviously replacing program and args.
 
 The problem with NAnt is that it is not giving MCS a long enough timeout.
+
+------- Additional Comments From gert.driesen@pandora.be  2003-06-24 15:26 -------
+If I'm not mistaken, NAnt is actually waiting Int32.MaxValue 
+milliseconds for an external process to exit, so I think this should 
+definitely be enough... As the SDK docs state : The maximum is the 
+largest possible value of a 32-bit integer, which represents infinity 
+to the operating system. 
+
+But I'll look into this a little further tomorrow.
+
+Does increasing the timeout for the test case I attached resolve this 
+issue ?  Does it return exit code 0 when you set the milliseconds 
+argument in WaitForExit to Int32.MaxValue ?