• 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: do shell script without blocking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script without blocking?


  • Subject: Re: do shell script without blocking?
  • From: Martin Orpen <email@hidden>
  • Date: Wed, 16 Feb 2005 15:24:39 +0000

on 16/2/05 2:34 pm, Stephen Jonke at email@hidden wrote:

> Unix question, then: I know what the "> filename" does, but what does
> the "2>&1" do?

1 = stdout (output)
2 = stderr (error)

2>&1 sends ouput 2 to the same destination as output 1

You'll often see that 2 (and sometimes 1) is redirected to /dev/null which
is also known as the bitbucket and means that you don't get bothered by
error messages littering your logs and script output.

--
Martin Orpen


 _______________________________________________
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

  • Follow-Ups:
    • Re: do shell script without blocking?
      • From: Stephen Jonke <email@hidden>
References: 
 >Re: do shell script without blocking? (From: Stephen Jonke <email@hidden>)

  • Prev by Date: Determine image mode
  • Next by Date: Re: do shell script without blocking?
  • Previous by thread: Re: do shell script without blocking?
  • Next by thread: Re: do shell script without blocking?
  • Index(es):
    • Date
    • Thread