Jython subprocess.call() to Python
问题 I'm attempting to make use of a CPython library from a Jython program through a subprocess.call() to a python script. I can make the call through the Jython interpreter without any problem. [OpenJDK Server VM (Sun Microsystems Inc.)] on java1.6.0_22 Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> subprocess.call('python /opt/fake.py', shell=True) ok! 0 But when I call the script from within my Jython program being built in Eclipse/PyDev: