Re: do shell hanging
Re: do shell hanging
- Subject: Re: do shell hanging
- From: "Laine Lee" <email@hidden>
- Date: Thu, 22 Mar 2007 17:13:06 -0500
On 3/22/07 9:41 AM, "Todd Geist" <email@hidden> wrote:
> Does anybody have any ideas about what is happening?
Does this work?
property tmpfile : "/tmp/execme"
do shell script "pwd" with administrator privileges
set theShellScript to "sudo /Library/StartupItems/Nleac/Nleac start"
do shell script "echo " & quoted form of theShellScript & " > " & tmpfile
do shell script "chmod +x" & space & tmpfile
do shell script tmpfile & space & "> /dev/null 2>&1 &" with administrator privileges
--
Laine Lee
_______________________________________________
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