Re: do Shell Script & shell Script
Re: do Shell Script & shell Script
- Subject: Re: do Shell Script & shell Script
- From: Andrew Oliver <email@hidden>
- Date: Mon, 23 Oct 2006 01:50:58 -0700
On Oct 22, 2006, at 11:22 PM, Kim Hunter wrote:
Does anybody know why this works ?
(i know this is a useless command, what i'm trying to do a more
complex but it gets the same error as this)
tell application "Terminal"
do script "ls > >(ls)"
end tell
But this doesn't
do shell script "ls > >(ls)"
It might help if you better explained what you're trying to do
For example, in a terminal:
[:~] % ls > >(ls)
tcsh: Missing name for redirect.
So, given that your first example doesn't work in a terminal window,
I'm not surprised the second one doesn't.
What is it you're trying to achieve?
At the end of the day the chances are the issues are related to
differences between either the shell (your shell in Terminal might not
be the same shell used by 'do shell script'), or some environment
difference because you've customized your environment.
Andrew
:)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden