Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do shell hanging



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.