• 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: Stan Cleveland <email@hidden>
  • Date: Thu, 22 Mar 2007 10:07:24 -0700
  • Thread-topic: do shell hanging

Title: Re: do shell hanging
On 3/22/07 9:08 AM, Mark J. Reed wrote:

> Hm.  Then I'm out of ideas, I'm afraid. I thought maybe sudo was stuck
> waiting for a password or something...

It is stuck waiting for a password (and your account name). Try this:

set s to "/Library/StartupItems/Nleac/Nleac start"
set r to do shell script s user name "userid" password "password" with administrator privileges

Stan C.
 _______________________________________________
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: deivy petrescu <email@hidden>
References: 
 >Re: do shell hanging (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: do shell hanging
  • Next by Date: Re: do shell hanging
  • Previous by thread: Re: do shell hanging
  • Next by thread: Re: do shell hanging
  • Index(es):
    • Date
    • Thread