Re: do shell script without blocking?
Re: do shell script without blocking?
- Subject: Re: do shell script without blocking?
- From: Bill Briggs <email@hidden>
- Date: Wed, 16 Feb 2005 11:36:30 -0400
At 9:34 AM -0500 2/16/05, Stephen Jonke wrote:
Unix question, then: I know what the "> filename" does, but what
does the "2>&1" do?
From a post I made yesterday.
"...shell redirection. The shell has three "files" it uses, apart
from the files you explicitly name in your file system. Standard
Input is 0, Standard Output is 1, Standard Error is 2. You can
redirect these, and in this case you want to redirect Std Error back
to Standard Output so it'll be fed back to the Script Editor (which I
assume at this point only gets fed Std Out when the script completes
(or not))."
the "2>&1" bit redirects standard error to standard output. That way
you see any error generated.
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden