Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 16, 2006 Output from program run via "system()" | ||||
---|---|---|---|---|
| ||||
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 Re: Output from program run via "system()" | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Demme Attachments: | 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 Re: Output from program run via "system()" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | 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 Re: Output from program run via "system()" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | 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
|
Copyright © 1999-2021 by the D Language Foundation