On Wed, Apr 25, 2001 at 05:30:41PM +0200, Ralph Einfeldt wrote:
Process mProcess =
Runtime.getRuntime().exec(new String[] {Command, arg0[, arg1-n]});
BufferedReader mInput = new BufferedReader(new
InputStreamReader(mProcess.getInputStream()));
String mLine;
while ((mLine =
object to terminate?)
-David Boyce
-Original Message-
From: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: Reaped pid = 24793, status = 0
I'm doing an
Process p=runner.exec(cmdarray);
in a servlet
+ ]);
e.printStackTrace();
}
-Ursprüngliche Nachricht-
Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. April 2001 09:07
An: [EMAIL PROTECTED]
Betreff: Re: Reaped pid = 24793, status = 0
On Tue, Apr 24, 2001 at 12:54:56PM -0400, Boyce, David
. April 2001 09:07
An: [EMAIL PROTECTED]
Betreff: Re: Reaped pid = 24793, status = 0
On Tue, Apr 24, 2001 at 12:54:56PM -0400, Boyce, David wrote:
A guess: you're letting the object reference go out of
scope without doing a
waitFor() or similar. When it then gets garbage collected
((mLine = mInput.readLine()) != null) {
doSomeThingWith(mLine);
}
-Ursprüngliche Nachricht-
Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. April 2001 09:45
An: [EMAIL PROTECTED]
Betreff: Re: Reaped pid = 24793, status = 0
On Wed, Apr 25, 2001
: Mittwoch, 25. April 2001 09:45
An: [EMAIL PROTECTED]
Betreff: Re: Reaped pid = 24793, status = 0
On Wed, Apr 25, 2001 at 09:28:29AM +0200, Ralph Einfeldt wrote:
Process mProcess =
Runtime.getRuntime().exec(new String[] {Command,
arg0[, arg1-n]});
...
try
]]
Gesendet: Mittwoch, 25. April 2001 16:45
An: [EMAIL PROTECTED]
Betreff: Re: Reaped pid = 24793, status = 0
On Wed, Apr 25, 2001 at 10:12:06AM +0200, Ralph Einfeldt wrote:
Depending on the nature of the of the child process you can
use different Variations of your solution.
That's our
I'm doing an
Process p=runner.exec(cmdarray);
in a servlet.
As a result everytime the exec executes (it executes a binary program
sitting in the filesystem of the server) I'm getting these
Reaped pid = number status=0
Do I have to care about them. Is it that I'm doing something
that could
, April 24, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: Reaped pid = 24793, status = 0
I'm doing an
Process p=runner.exec(cmdarray);
in a servlet.
As a result everytime the exec executes (it executes a binary program
sitting in the filesystem of the server) I'm getting these
Reaped pid