Re: Do shell script question
Re: Do shell script question
- Subject: Re: Do shell script question
- From: David Durkee <email@hidden>
- Date: Thu, 4 Sep 2003 16:12:14 -0500
The commands I'm sending to do shell script work, it's just that the
AppleScript (or the application running it) hangs, so I don't think
there's a problem with the way the path string is formatted. (The path
is quoted; the backslashes are escape characters for the quote
characters around the path.) If there was, the server wouldn't start
up, and it does.
I just tried writing a shell script for this. When I execute the shell
script from Terminal, it works fine, and when I use do shell script
from an AppleScript on it, it works, but hangs the AppleScript.
David
On Thursday, September 4, 2003, at 03:04 PM, Doug McNutt wrote:
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.
--
David Durkee
email@hidden
<
http://ddurkee.homeip.net/>
_______________________________________________
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.