Execute process and read its stdout/stderr asynchronously

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Jul 22 05:42:24 PDT 2009


On Wed, Jul 22, 2009 at 4:41 AM, kkll<A at b.com> 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?
>

There is for D1, in Tango.  You might be able to port it over.


More information about the Digitalmars-d-learn mailing list