Re: Execute process and read its stdout/stderr asynchronously

2009-07-22 Thread torhu
On 22.07.2009 10:41, kkll wrote: I'm trying out D2+phobos on OSX and would like to write wrapper around few shell commands. I've found only very basic exec() and system() in std lib, but I need to launch few things at once and get all their output. Is there something like Cocoa's NSTask in D?

Re: Execute process and read its stdout/stderr asynchronously

2009-07-22 Thread Jarrett Billingsley
On Wed, Jul 22, 2009 at 8:42 AM, Jarrett Billingsley wrote: > On Wed, Jul 22, 2009 at 4:41 AM, kkll wrote: >> I'm trying out D2+phobos on OSX and would like to write wrapper around few >> shell commands. >> >> I've found only very basic exec() and system() in std lib, but I need to >> launch few

Re: Execute process and read its stdout/stderr asynchronously

2009-07-22 Thread Jarrett Billingsley
On Wed, Jul 22, 2009 at 4:41 AM, kkll wrote: > I'm trying out D2+phobos on OSX and would like to write wrapper around few > shell commands. > > I've found only very basic exec() and system() in std lib, but I need to > launch few things at once and get all their output. > > Is there something lik