AW: Reaped pid = 24793, status = 0

2001-04-25 Thread Ralph Einfeldt
Process mProcess = Runtime.getRuntime().exec(new String[] {Command, arg0[, arg1-n]}); ... try { mProcess.waitFor(); } catch (Throwable ex) { } mProcess.destroy(); -Ursprüngliche Nachricht- Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch,

AW: Reaped pid = 24793, status = 0

2001-04-25 Thread Ralph Einfeldt
Depending on the nature of the of the child process you can use different Variations of your solution. That's our solution: (The child process writes lines to stdout) BufferedReader mInput = new BufferedReader(new InputStreamReader(mProcess.getInputStream())); String mLine; while

AW: Reaped pid = 24793, status = 0

2001-04-25 Thread Ralph Einfeldt
Process mProcess = Runtime.getRuntime().exec(new String[] {Command, arg0[, arg1-n]}); BufferedReader mInput = new BufferedReader(new InputStreamReader(mProcess.getInputStream())); String mLine; while ((mLine = mInput.readLine()) != null) { doSomeThingWith(mLine); // if you wan't to