'do shell script'-bug?
'do shell script'-bug?
- Subject: 'do shell script'-bug?
- From: christian vick <email@hidden>
- Date: Sat, 12 Jan 2002 04:31:55 +0100
If i use...
tell application "Terminal"
do script with command "echo password | sudo bless -folder9
\"/Volumes/9disk/System Folder 922\" -setOF"
end tell
... it works. But if i use...
do shell script "echo password | sudo bless -folder9 \"/Volumes/9disk/System
Folder 922\" -setOF"
... i get an error "sudo: bless: command not found".
Is this a bug or am i missing something?
OS 10.1.2
Greetings
cris :-)