[1574] in java-interest
Q:exec function
daemon@ATHENA.MIT.EDU (Christophe Meessen)
Fri Sep 8 08:08:44 1995
Date: Fri, 8 Sep 1995 10:51:12 +0200
To: java-interest@java.Eng.Sun.COM
From: meessen@cppm.in2p3.fr (Christophe Meessen)
I may have misunderstood the exec function usage but I suspect a limitation.
It seams impossible to redirect simultaneously stdin stdout and stderr
of the execed system function.
Nothing is said about the asynchronous behaviour of this function.
Does these exec execin execout calls block until system function completion ?
What about the output file streams then ?
When do we write into it or read form it ?
If the exec is asynchronous how do we know when it is finished, and the
return status ?
Apparently exec is already very usefull and very simple and straight forward
in usage.
But and exec function allowing to start a system function and allowing to
redirect simultaneously stdin stdout and stderr would be more general.
This would allow to use java as interface for any curently existing
character oriented application. This is naturaly just for a local usage.
Java should inherit the unix pipe and redirection capabilities.
Bien cordialement,
Ch.Meessen
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com