Hi,

  I feel one problem regarding the shell script execution. I am using
appfuse 1.94 for my webapp. In my application i am using the following
command  to execute the shell script. The directory and file has all
permissions. But when allplication runs the script is not getting executed. 

   Runtime runtime = Runtime.getRuntime();
runtime.exec("/opt/gsscript/gs.sh").waitFor();

 But from the command terminal if i run that shell script using the
following command 

   #sh gs.sh 
 the script executes properly. 

I would like to the reasons behind this.

Thanks,
Jithesh

-- 
View this message in context: 
http://www.nabble.com/shell-script-in-java-tf4718365s2369.html#a13627506
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to