on "do shell script"
on "do shell script"
- Subject: on "do shell script"
- From: roy whelden <email@hidden>
- Date: Tue, 11 Feb 2003 11:05:46 -0800
Hello all,
I wonder if there might be a problem with the standard addition "do
shell script."
In short, it seems to require the concatenation ("&") sign before it
will work correctly.
For example, the instruction --
do shell script "sudo" & " -s" password p with administrator privileges
--works correctly, whereas the instruction --
do shell script "sudo -s" password p with administrator privileges
-- returns the error "command p not found."
There is nothing in the standard additions dictionary entry on "do
shell script" to indicate that the first is the correct form and the
second is incorrect.
I'm using Script Editor 2.0 beta in OS X 10.2.3
Thanks,
Roy
_______________________________________________
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.