• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
'do shell script'-bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'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 :-)


  • Follow-Ups:
    • Re: 'do shell script'-bug?
      • From: Christopher Nebel <email@hidden>
    • Re: 'do shell script'-bug?
      • From: Jon Pugh <email@hidden>
  • Prev by Date: Copy to clipboard when non supported?
  • Next by Date: Re: Punctuation in Applescript's Text Item Delimiters
  • Previous by thread: Re: Copy to clipboard when non supported?
  • Next by thread: Re: 'do shell script'-bug?
  • Index(es):
    • Date
    • Thread