Re: no such file or directory:
Re: no such file or directory:
- Subject: Re: no such file or directory:
- From: Richard Brosnahan <email@hidden>
- Date: Wed, 20 Mar 2002 12:58:54 -0500
on 3.20.2002 11:34 AM, John W Baxter at
email@hidden typed these words:
>
do shell script "/doit"
>
works for me, producing
>
"I'm working."
>
which is what it is supposed to do. Mac OS X 10.1.3 WITHOUT the beta of
>
the new AppleScript, but with the December developer tools.
>
>
Aside:
>
>
The top level of the file system is not a good place to do this sort of
>
thing. Try using /tmp (/private/tmp) instead for temporary play things,
>
and perhaps make a folder inside /Users/Shared for stuff you want to keep.
>
>
In a proper Unix environment, you couldn't put the file in / except as root
>
(I've made mine "proper" to keep sendmail happy...I set it back to Apple's
>
improper form before running installers, some of which fail without the
>
ability to write in the / directory).
>
>
--John
Good advice. Indeed, I had originally tried to execute the script located in
a more logical place. I was getting the "no such file..." error and thought
it was due to having spaces in the path. I'd been using \ characters to
escape the path correctly (two \ chars within the script) and seeing the
error. In order to eliminate the spaces as a variable, I moved the script to
the root of the drive to test it. No joy.
It still doesn't work. Your note is useful because I can eliminate a the
path issue from my list of possible problems.
Onward.
Thanks very much, John.
--
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.