Thread overview
Output from program run via "system()"
Feb 16, 2006
John Demme
Feb 16, 2006
Regan Heath
Feb 17, 2006
Charles
Feb 17, 2006
John Demme
February 16, 2006
Hey guys,

        I'm a Linux guy, but I was recently asked to do a small app in Windows.
I'm hoping if won't be so bad since I'm going to use D and Mango.

        One of the things this app needs to do is run an exe and grab it's standard
output.  So, what's the easiest way to do this in Windows (and D)?

Thanks,
        John Demme
February 16, 2006
On Thu, 16 Feb 2006 17:36:59 -0500, John Demme <me@teqdruid.com> wrote:
> Hey guys,
>
>         I'm a Linux guy, but I was recently asked to do a small app in
> Windows.
> I'm hoping if won't be so bad since I'm going to use D and Mango.
>
>         One of the things this app needs to do is run an exe and grab
> it's standard
> output.  So, what's the easiest way to do this in Windows (and D)?

You could try this.

Regan

February 17, 2006
Unfortunately this is ridiculously complex on win32.  Although Regan's class looks pretty sweet .

Charlie


"Regan Heath" <regan@netwin.co.nz> wrote in message news:ops4297eh023k2f5@nrage.netwin.co.nz...
> On Thu, 16 Feb 2006 17:36:59 -0500, John Demme <me@teqdruid.com> wrote:
> > Hey guys,
> >
> >         I'm a Linux guy, but I was recently asked to do a small app in
> > Windows.
> > I'm hoping if won't be so bad since I'm going to use D and Mango.
> >
> >         One of the things this app needs to do is run an exe and grab
> > it's standard
> > output.  So, what's the easiest way to do this in Windows (and D)?
>
> You could try this.
>
> Regan


February 17, 2006
Regan Heath wrote:

> On Thu, 16 Feb 2006 17:36:59 -0500, John Demme <me@teqdruid.com> wrote:
>> Hey guys,
>>
>>         I'm a Linux guy, but I was recently asked to do a small app in
>> Windows.
>> I'm hoping if won't be so bad since I'm going to use D and Mango.
>>
>>         One of the things this app needs to do is run an exe and grab
>> it's standard
>> output.  So, what's the easiest way to do this in Windows (and D)?
> 
> You could try this.
> 
> Regan

Looks like it'll do the trick.  Thanks, Regan.

~John Demme