Bingo. I was running the python script in GNU script, and it wasn't
loading my bash config file properly. Have fixed it by
altering .screenrc and now the code runs fine. Would have never
guessed to look if you hadn't mentioned it, cheers!
Best,
Ed
On Jun 23, 11:29 pm, "Diez B. Roggisch" wrote:
>
Edward Grefenstette schrieb:
I have a java prog I need to run at some point during the execution of
a python module.
The path to the folder containing the all the relevant java stuff
(which runs fine from the command line) is stored in pkgpath. The
relevant code is this:
os.chdir(pkgpath)
argl
On Tue, Jun 23, 2009 at 2:29 PM, Edward Grefenstette wrote:
> I have a java prog I need to run at some point during the execution of
> a python module.
>
> The path to the folder containing the all the relevant java stuff
> (which runs fine from the command line) is stored in pkgpath. The
> relevan
Edward Grefenstette wrote:
I have a java prog I need to run at some point during the execution of
a python module.
The path to the folder containing the all the relevant java stuff
(which runs fine from the command line) is stored in pkgpath. The
relevant code is this:
os.chdir(pkgpath)
arglis
I have a java prog I need to run at some point during the execution of
a python module.
The path to the folder containing the all the relevant java stuff
(which runs fine from the command line) is stored in pkgpath. The
relevant code is this:
>>> os.chdir(pkgpath)
>>> arglist = "java -Xmx1024m Se