Re: do shell hanging
Re: do shell hanging
- Subject: Re: do shell hanging
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 22 Mar 2007 11:40:45 -0400
Don't use sudo from "do shell script". The "with administrator
privileges" takes care of that.
On 3/22/07, Todd Geist <email@hidden> wrote:
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
--
Mark J. Reed <email@hidden>
_______________________________________________
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