Re: Do shell script question
Re: Do shell script question
- Subject: Re: Do shell script question
- From: Doug McNutt <email@hidden>
- Date: Thu, 4 Sep 2003 14:04:58 -0600
>
do shell script "cd \"/Volumes/Calvin/FileMaker Server 5.5/FileMaker Server Config.app/Contents/Resources/\";./fmserverd start -c fmserver.conf"
I worry about the spaces in the path. Escaping backslashes is a royal pain and under some conditions the backslash needs to be escaped. You might ave a look at
do shell script quoted form of /Volumes/Calvin/FileMaker Server 5.5/FileMaker Server Config.app/Contents/Resources/ . . .
And I'm also not so sure about the final slash on Resources/.
Does the command sequence work properly in Terminal? Does the server continue to run after you quit Terminal?
Have you tried creating an executable shell script that works and using Applescript to execute that? AppleScript can be persuaded, with a #! line, to use your chosen shell if you do that.
Do you, as an AppleScript user, have the required permission to execute fmserverd?
--
--> On the eighth day, about 6 kiloyears ago, the Lord realized that free will would make man ask what existed before the Creation. So He installed a few billion years of history complete with a big bang and a fossilized record of evolution. <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.