no such file or directory:
no such file or directory:
- Subject: no such file or directory:
- From: Richard Brosnahan <email@hidden>
- Date: Tue, 19 Mar 2002 22:40:57 -0500
Hi folks,
Sorry if this has been discussed before. My search found lots of references
to do shell script, but none that addressed this issue.
When trying to execute a shell script called doIt, with
do shell script "/doIt"
I see this error
zsh: no such file or directory: /doIt
doIt is at the root of the machine. Copying the path with BBEdit's info
command confirms this. Using Volumes/Disk Name/doIt does not help.
<sigh>
I created this script in BBEdit, where it works fine. I want it to work
outside of BBEdit. The file DOES exist, despite what zsh says. It also has
the proper permissions set.
Even better, I'd like to just call the script as a string within
appleScript, but that's giving me even more trouble. The shell script is
about 15 lines long. Concatinating that into a long string causes do shell
script to be fussy as well. A cd command will give me the same "no such file
or directory" bologna. (Look, script! The directory is RIGHT THERE!)
Mac OS X 10.1.3, AppleScript 1.8.2 (the newest beta), powerbook G3/500
Is there better documentation somewhere, other than the 1.8.1 release notes,
or the dictionary? Can someone nudge me in the right direction? This might
seem like a silly problem, but it's cost me some hours of fiddling, when I'd
rather be coding.
Thanks in advance!
--
Richard Brosnahan
Editor in Chief
Broz News
Hand Picked Technical News
Updated Every Business Day!
http://broznews.com/
_______________________________________________
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.