The new std.process is ready for review

Johannes Pfau nospam at example.com
Sun Mar 31 06:14:51 PDT 2013


Am Sat, 23 Feb 2013 12:31:19 +0100
schrieb "Lars T. Kyllingstad" <public at kyllingen.net>:

> It's been years in the coming, but we finally got it done. :)  
> The upshot is that the module has actually seen active use over 
> those years, both by yours truly and others, so hopefully the 
> worst wrinkles are already ironed out.
> 
> Pull request:
> https://github.com/D-Programming-Language/phobos/pull/1151
> 
> Code:
> https://github.com/kyllingstad/phobos/blob/std-process2/std/process2.d
> 
> Documentation:
> http://www.kyllingen.net/code/std-process2/phobos-prerelease/std_process2.html
> 
> I hope we can get it reviewed in time for the next release.  (The 
> wiki page indicates that both std.benchmark and std.uni are 
> currently being reviewed, but I fail to find any "official" 
> review threads on the forum.  Is the wiki just out of date?)
> 
> Lars

Reposted from github:
I think it would be nice if the high level functions would also allow
using custom environment variables. So the execute and executeShell
functions should have overloads which accept a string[string] with
environment variables (and probably accept a Config as well).

The execute and executeShell functions would be trivial to implement
though if pipeProcess / pipeShell had an overload with environment
and Config parameters. So it's probably more important that
pipeProcess / pipeShell get these overloads.


More information about the Digitalmars-d mailing list