User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 397,589 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,991 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser:
Views: 419 | Replies: 0
Reply
Join Date: Apr 2008
Posts: 7
Reputation: Raghavansat is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Raghavansat Raghavansat is offline Offline
Newbie Poster

Running a script file from java

  #1  
May 11th, 2008
Hi
I have written a script file which uses whiptail --inputbox to get an input and i want to execute this script from a java program... my java code is
 Process process = Runtime.getRuntime().exec("/path/../myscript.sh");

but when i run my java code the script is not running. The whiptail box is not appearing.. What should i do to run the script
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Shell Scripting Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 5:50 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC