From: <pj...@us...> - 2009-05-27 06:44:08
|
Revision: 6395 http://jython.svn.sourceforge.net/jython/?rev=6395&view=rev Author: pjenvey Date: 2009-05-27 06:44:07 +0000 (Wed, 27 May 2009) Log Message: ----------- poll should set returncode if the process terminated Modified Paths: -------------- trunk/jython/Lib/subprocess.py Modified: trunk/jython/Lib/subprocess.py =================================================================== --- trunk/jython/Lib/subprocess.py 2009-05-27 03:29:59 UTC (rev 6394) +++ trunk/jython/Lib/subprocess.py 2009-05-27 06:44:07 UTC (rev 6395) @@ -1275,7 +1275,7 @@ attribute.""" if self.returncode is None: try: - return self._process.exitValue() + self.returncode = self._process.exitValue() except java.lang.IllegalThreadStateException: pass return self.returncode This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |