|
From: Michael B. <m...@bu...> - 2014-05-11 21:57:49
|
Hi, I'm using latest jython hg sources (2.7). My code uses subprocess.Popen() and eventually calls terminate() on the object. This fails with the following exception: > Traceback (most recent call last): > File "/home/mb/develop/git/awlsim/./tests/../awlsimcli", line 424, in <module> > sys.exit(main()) > File "/home/mb/develop/git/awlsim/./tests/../awlsimcli", line 420, in main > return runWithServerBackend(inputFile) > File "/home/mb/develop/git/awlsim/./tests/../awlsimcli", line 274, in runWithServerBackend > client.shutdown() > File "/home/mb/develop/git/awlsim/awlsim/coreserver/client.py", line 115, in shutdown > self.serverProcess.terminate() > File "/home/mb/develop/hg/jython/dist/Lib/subprocess.py", line 1399, in terminate > _subprocess.TerminateProcess(self._handle, 1) > NameError: global name '_subprocess' is not defined This looks like a bug in the subprocess module. -- Michael. ---- Please use PGP/GPG encryption. Key-ID: F532BE1D908D8B0E -------- |