Hi, is it possible to pipe to fd 3,4,5 etc on NSTask? Some tools like
ImageMagick can open fd 3 4 5... though -launch close them. What would
be the best way to pipe to them? I am looking for a kind of official
support as I am avoiding cut & paste beloved lgpl code into my
project.
Thanks,
Banlu
--
On 6 Mar 2011, at 21:59, Banlu Kemiyatorn wrote:
> Hi, is it possible to pipe to fd 3,4,5 etc on NSTask? Some tools like
> ImageMagick can open fd 3 4 5... though -launch close them. What would
> be the best way to pipe to them? I am looking for a kind of official
> support as I am avoiding cut &
On Mon, Mar 7, 2011 at 10:42 PM, Richard Frith-Macdonald
wrote:
> Depending on what you are trying to do, you might redirect other decriptors
> to one of those, or you might try using named pipes to communicate between
> processes.
I want to write to any predefined descriptor on target process
On 7 Mar 2011, at 16:04, Banlu Kemiyatorn wrote:
> On Mon, Mar 7, 2011 at 10:42 PM, Richard Frith-Macdonald
> wrote:
>> Depending on what you are trying to do, you might redirect other decriptors
>> to one of those, or you might try using named pipes to communicate between
>> processes.
>
> I
Thanks,
It's okay, I'll just create another lgpl library subclassing NSTask and link
to it.
Banlu
- Original message -
>
> On 7 Mar 2011, at 16:04, Banlu Kemiyatorn wrote:
>
> > On Mon, Mar 7, 2011 at 10:42 PM, Richard Frith-Macdonald
> > wrote:
> > > Depending on what you are trying