Re: Scripting the Location
Re: Scripting the Location
- Subject: Re: Scripting the Location
- From: "John W. Baxter" <email@hidden>
- Date: Sun, 31 Aug 2003 08:25:21 -0700
- Envelope-to: email@hidden
On 8/30/2003 16:56, "Paul Berkowitz" <email@hidden> wrote:
>
A follow-up: why does the Terminal not see it as an error? Does tcsh simply
>
receive stderr as well as (instead of) stdout without murmur, while
>
AppleScript's sh/bash receives only stdout?
(This was about a do shell script "foo" where foo returned an error.)
The shell presents both output streams to the user, sort of mingled.
But in do shell script, only the stdout stream gets back to the script,
along with the result code of the script as an AppleScript error if
non-zero.
--John
_______________________________________________
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.