Re: Launching a shell script from Java



Roedy Green wrote:

On Wed, 16 Jan 2008 12:31:47 -0500, Mark <Mark.Fenbers@xxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

What's the trick to launch a shell script from Java? I would have
thought the System class would have had this, but does not appear to.
Surely, Java would be capable of this, right?

see http://mindprod.com/jgloss/exec.html

and also look through the archives of the comp.lang.java.* hierarchy for the
past 2-3 months. There have been several threads on this topic which give
detailed information regarding the pitfalls and gotchas inherent in using the
various Runtime.exec() methods.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
.



Relevant Pages