Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: problem in Runtime.exec(String s)


Message #1 by siva kumar <siva_valcano@u...> on 18 Apr 2001 07:14:16 MDT
hi buddies

i am using Runtime.getRuntime().exec("backup.ini");

this will execute this script file.

inside the file look like this

tar cvf test.tar /home1/backup

this will store all the files from /home1/backup to

test.tar

but while executing through GUI (RMI call) its giving error.
its working but not completely.

but samething if i run from simple java application(server itself) it wor
ks
fine.

i don't know wheather the problem in RMI or exec();

plz help me in this regard

thanx 

bye
siva


  Return to Index