On 03/17/09 11:29, Vincent Spiewak wrote:
Dear developers,
I'm trying to execute an external application (pipeline-lite.exe)
inside a Java Uno Extension.
OpenOffice.org crash without any additionnals informations.

Do I need to make my runtime.exec() in another Thread ?

No idea why OOo crashes, but two things to note from <http://java.sun.com/javase/6/docs/api/java/lang/Process.html>: "Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock." and "There is no requirement that a process represented by a Process object execute asynchronously or concurrently with respect to the Java process that owns the Process object."

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to