On Wed, Jan 19, 2011 at 10:41:14PM -0600, Christopher Stone wrote:

> If I run that from Applescript it throws a couple of errors:
> 
> find: ./Utilities/Utilities (Chris)/Unix 
> Utilities/Manner/.Spotlight-V100/Store-V1: Permission denied
> find: ./Utilities/Utilities (Chris)/Unix Utilities/Manner/.Spotlight-V100: 
> Permission denied
> 
> The Terminal just prints them and gets on with life, but this stymies
> things in Applescript.  The only way I've found around it is to write the
> results to a file and then read them back into the script.

Once you get to AppleScript, you've moved beyond my areas of knowledge.  :)

You could try redirecting stderr to /dev/null:

find ... 2>/dev/null

But be aware that that will throw away all errors, not just the permission
denied ones.

Ronald

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to