2011/6/1 Kyle <email@example.com>
I'm having some trouble with jython subprocess.
For the example code
p=subprocess.Popen("echo hi", shell=True)
In python I get the process number, in jython I get None.
Jython Version: Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011,
23:12:06) [OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on
Am I missing something?
Java is encapsulating the concept of process so that it can used across platforms. We don't have much control on this in Java. Java has a really poor support for everything that is related to process and this why you don't access to the process ids.