• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting the Location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Scripting the Location (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Scripting the Location
  • Next by Date: Re: Renaming files in Finder: why so slow?
  • Previous by thread: Re: Scripting the Location
  • Next by thread: Re: Scripting the Location
  • Index(es):
    • Date
    • Thread