Do Shell Script

Hi All,
I am using “do shell script” in applescript to execute a set of terminal commands which is used to configure stunnel in mac os x. like Do Shell Script “cd /; ./config” etc.The script works fine except for a message box pops up after the commands are excuted showing some warnings.How can i prevent this message box from poping up.

Thanks in Advance
Suresh

Try with


ignoring application responses
	do shell script "cd /; ./config"
end ignoring

ignoring application responses will stop the message box coming up, but you wont be able to check for yourself what has been returned if you need to.

if you use:


try
 do shell script "cd /; ./config"
on error theError
  DoWhatYouLikeWithErrorMessage(theError)
end try

You could choose to check for what type of errors have occured, and ignore the non critical ones.

Kevin