cendrizzi
-
Posts
0 -
Joined
-
Last visited
Reputation Activity
-
cendrizzi reacted to aiyo in Workflows requiring privileges
You can use applescript to run the shell script with administrator privileges:
osascript -e "do shell script \"sudo apachect1 stop >/dev/null;\" with administrator privileges"
I know it sounds a bit silly running a shell script, in an applescrip,t in a shell script... but it works)