Re: Redirect IO of target
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