AIL PROTECTED]>
To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL
PROTECTED]>
Sent: Thursday, June 29, 2006 1:57 PM
Subject: Re: exec'ing ksh from Servlet
> On 6/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
>> I launch this process
&
sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "David Smith" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 29, 2006 1:24 PM
Subject: Re: exec'ing k
On 6/29/06, David Smith <[EMAIL PROTECTED]> wrote:
How is that messed up? Makes perfect sense from the perspective of the
calling java code and is consistent with input and output streams for
files, network connections, etc., ...
It would make perfect sense (imho), but than, whats with the err
ave received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "David Smith" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thur
How is that messed up? Makes perfect sense from the perspective of the
calling java code and is consistent with input and output streams for
files, network connections, etc., ...
--David
Leon Rosenberg wrote:
Alas, the getInputStream and getOutputStream methods are mixed up, the
getInputStr
Alas, the getInputStream and getOutputStream methods are mixed up, the
getInputStream method gives you the stdout of the process and the
getOutputStream - the stdin.
Leon
On 6/29/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
I suppose you use Runtime.exec() ?
If yes, you should grab the process
I suppose you use Runtime.exec() ?
If yes, you should grab the process output and error streams from the
resulting Process class:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html
regards
Leon
On 6/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Good Afternoon All-
I am attemptin