What is the preferred way of calling other processes asynchronously in D? My use case is calling svn status checking exit status, and parsing its standard output and error.
What is the preferred way of calling other processes asynchronously in D? My use
Share
I think std.stdio.popen is what you want:
Use it with a
Fileand you get the output; something like:Or you can use std.process.shell which apparently does this for you (and throws an ErrnoException on error).