• 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: run app with root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run app with root


  • Subject: Re: run app with root
  • From: Axel Luttgens <email@hidden>
  • Date: Fri, 04 Apr 2014 12:12:53 +0200

Le 4 avr. 2014 à 09:17, Iurista GmbH a écrit :

> [...]
> I tried to send output to dev/null or > /dev/null 2>&1 &, but nothing has helped. Even by googling I did not found a solution...
> [...]

Hello Rudolf,

Quickly tried this one here (10.8.5):

	do shell script "/Applications/TextEdit.app/Contents/MacOS/TextEdit >/dev/null 2>&1 &" with administrator privileges
	display dialog "do shell script done"

and the script immediately displays its dialog while TextEdit is running as root (of course, running a GUI app from such a context may come with many caveats).

Axel


 _______________________________________________
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


References: 
 >run app with root (From: Iurista GmbH <email@hidden>)

  • Prev by Date: Re: run app with root
  • Next by Date: Re: run app with root
  • Previous by thread: Re: run app with root
  • Next by thread: kMDItemWhereFroms
  • Index(es):
    • Date
    • Thread