Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Execute Interactive Unix ShellScript !

843798Jul 17 2002 — edited Jul 18 2002
I want to run a Unix Script from a remote Win box. This Unix script is an interactive one.. ie: Displays a menu, and waits for Users input..then executes the selected option and again comes to the menu.
What are the ways to do this ?

Runtime.getRuntime.exec("unixscript.sh") ... would this work in interactive mode ? .. how can i capture User's Input and send it back to the Script ?
I want to know the ways to do it ..both thru Java Applications and Applets ..AND/OR JSPs.

Thanx in advance
- ds
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2002
Added on Jul 17 2002
1 comment
114 views