Is there ANYTHING out there that can help manage executing system
commands to batch input, capture output, and generally not make a mess
of things on different platforms?
I'm pulling my hair out.
If no one knows of anything, I might write an API description and
propose it be included in
Hi,
Lukas Bradley schrieb:
Is there ANYTHING out there that can help manage executing system
commands to batch input, capture output, and generally not make a mess
of things on different platforms?
I'm pulling my hair out.
If no one knows of anything, I might write an API description and
ANT gives you a selection of well-tested tasks of all kinds, combinable
and system-independent. Give it a try. HTH,
This looks like it might be perfect:
org.apache.tools.ant.taskdefs.Execute
Execute(ExecuteStreamHandler streamHandler, ExecuteWatchdog watchdog)
However, I don't see a stream
Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Lukas Bradley
Sent: Wednesday, March 30, 2005 11:54 AM
To: commons-user@jakarta.apache.org
Subject: Re: Runtime.exec() Utilities?
ANT gives you a selection of well-tested tasks of all kinds,
combinable
and system-independent. Give it a try
How about Commons-Launcher [1]?
Gary
[1] http://jakarta.apache.org/commons/launcher/
-Original Message-
From: Christian Aust [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 7:51 AM
To: Jakarta Commons Users List
Subject: Re: Runtime.exec() Utilities?
Hi,
Lukas Bradley
How about Commons-Launcher [1]?
Commons Launcher seems very geared toward launching Java processes. I
am attempting to launch a non-Java related binary, with versions on
Windows and LINUX systems.
So far, Ant's Execute task is working nicely. However, I'm using an
interium batch/shell script