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

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

  • Prev by Date: Re: last opened
  • Next by Date: Re: Open for access with write permission
  • Previous by thread: Re: do shell hanging
  • Next by thread: Open for access with write permission
  • Index(es):
    • Date
    • Thread