R
replysonika
Hello,
I run a Java app with subprocess from Python script. This python
script is called from another Python Wrapper.
python = subprocess.Popen(["toolname.sh", "-args", arg1, arg2],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
I can run it manually from the command line. But fails when I execute
the wrapper Python script
How do I source the java environment from the wrapper. It fails with
the following message.
....16605 Segmentation fault $JAVA_HOME/bin/java $JAVA_OPTIONS -
classpath $CLASSPATH xxxxxxxxxxxxxxxxxxxxxx "$@"....
Any Hints?
Thanks,
Sonika
I run a Java app with subprocess from Python script. This python
script is called from another Python Wrapper.
python = subprocess.Popen(["toolname.sh", "-args", arg1, arg2],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
I can run it manually from the command line. But fails when I execute
the wrapper Python script
How do I source the java environment from the wrapper. It fails with
the following message.
....16605 Segmentation fault $JAVA_HOME/bin/java $JAVA_OPTIONS -
classpath $CLASSPATH xxxxxxxxxxxxxxxxxxxxxx "$@"....
Any Hints?
Thanks,
Sonika