osascript, root vs other users
osascript, root vs other users
- Subject: osascript, root vs other users
- From: James Reynolds <email@hidden>
- Date: Thu, 8 Aug 2002 13:39:55 -0600
I am executing this command:
sudo osascript -e 'tell application "Internet Explorer" to Activate"
I would think that Internet Explorer would launch as root user, but
no. See output of ps command:
% ps -axo user,command | grep Explorer
root osascript -e tell application "Internet Explorer" to Activate
% ps -axo user,command | grep Explorer
james /Applications/Internet Explorer.app/Contents/MacOS/Internet
Explorer /Applications/Internet Explorer.
I am curious how an osascript command executed by root launches IE as
the current logged in user. Is this something I can rely on always
happening?
--
Thanks,
James Reynolds
University of Utah
Student Computing Labs
email@hidden
801-585-9811
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.