Re: run app with root
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