Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2008

Tip: Looking for answers? Try searching our database.

Launching a shell script from Java

Thread view: 
Mark - 16 Jan 2008 17:31 GMT
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?

Mark
Roedy Green - 16 Jan 2008 18:04 GMT
>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
Signature

Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com

Nigel Wade - 17 Jan 2008 09:48 GMT
>>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.

Signature

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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.