• 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: Redirect IO of target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirect IO of target


  • Subject: Re: Redirect IO of target
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 28 Sep 2011 19:43:48 -0700


On Sep 28, 2011, at 5:25 PM, Michael Lehn wrote:

P.S.: However, I think it should not be too hard that someone at Apple checks if arguments passed to a target start
with ">" or "<" and performs the corresponding redirection before executing it … 

That assumes that no one wants to pass an argument that actually starts with < or >.
Or at a higher level: the argument list specified in Xcode is the actual argv[ ] that get sent to the process, not a shell command-line that’s subject to parsing and substitution. They’re different things.
Yes, it would be feasible to add I/O redirection to the runtime options in Xcode, but I suspect it’s something that hardly anyone needs, not enough to justify them adding it. In general, if you need that kind of thing you run your tool in a real shell.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Redirect IO of target (From: Michael Lehn <email@hidden>)
 >Re: Redirect IO of target (From: Jens Alfke <email@hidden>)
 >Re: Redirect IO of target (From: Michael Lehn <email@hidden>)
 >Re: Redirect IO of target (From: Conrad Shultz <email@hidden>)
 >Re: Redirect IO of target (From: Michael Lehn <email@hidden>)

  • Prev by Date: Re: Redirect IO of target
  • Next by Date: malloc error
  • Previous by thread: Re: Redirect IO of target
  • Next by thread: Re: Redirect IO of target
  • Index(es):
    • Date
    • Thread