python under java

Grig Gheorghiu grig.gheorghiu at
Fri Jan 28 01:09:32 EST 2005

At a command prompt, do "which python" to see where the python binary
lives. Then specify the full path to python in your exec() call,
instead of just "python". What probably happens is that you don't have
the python binary in your PATH when you run exec() from your Java code.

More information about the Python-list mailing list