• 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
do shell hanging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do shell hanging


  • Subject: do shell hanging
  • From: Todd Geist <email@hidden>
  • Date: Thu, 22 Mar 2007 09:41:49 -0500 (CDT)

Hello,


I am trying to run the following shell script like this


    set s to "sudo /Library/StartupItems/Nleac/Nleac start"
    set r to do shell script s with administrator privileges

The process is started but Applescript justs hangs.


If I run the same command in the terminal I get a result. If while the Applescript is hung, I go to the terminal and run

    sudo /Library/StartupItems/Nleac/Nleac stop

which stops the process I just started, then the Applescript continues on and finally returns the result.

Does anybody have any ideas about what is happening?

Thanks

Todd


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: do shell hanging
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Finding iCal Repeating Events
  • Next by Date: Re: last opened
  • Previous by thread: Finding iCal Repeating Events
  • Next by thread: Re: do shell hanging
  • Index(es):
    • Date
    • Thread