run app with root
run app with root
- Subject: run app with root
- From: Iurista GmbH <email@hidden>
- Date: Fri, 04 Apr 2014 09:17:16 +0200
Hi all
I would like to open a program with root privileges. So my Script looks like:
set password to "pwpwpwpw" <--THIS ONE I GET FROM THE KEYCHAIN
do shell script quoted form of ".../content/MacOS/XXX" user name "root" password pw with administrator privileges
It works quite fine, but: the applescript does not continue after this step, but is obiously waiting for something coming back.
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...
Does anybody know, how the script can be stopped or continued, without first quitting the app XXX
Thanks for a hint
Rudolf
_______________________________________________
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