• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Do shell script question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Do shell script question
      • From: David Durkee <email@hidden>
References: 
 >Re: Do shell script question (From: David Durkee <email@hidden>)

  • Prev by Date: Re: Searching for a folder in Applescript
  • Next by Date: Re: Renaming files in Finder: why so slow?
  • Previous by thread: Re: Do shell script question
  • Next by thread: Re: Do shell script question
  • Index(es):
    • Date
    • Thread