From: Kristian Rother <kristian.rother@ch...> - 2003-09-09 06:41:05
Hello PyMOL and Java users,
We have found a solution to the problem we reported last week.
Pymol occasionally blocked when started with java.Runtime.exec.
The error was in our java-application since it is quite difficult to use =
Process class properly.
The error was hard to find because it only occured in some java-versions.=
When processes that write to stdout are launched with
Runtime.exec(...) it is important to read the output into a
Otherwise the process is stopped after some amount of produced output
because of pipe_wait. In this case listing processes with ps shows an S=20
(stopped) instead of R (running).
In our application we used InputStream but should have=20
Christoph Gille & Kristian Rother