[phobos] Suggestions for std.process

Lars Tandle Kyllingstad public at kyllingen.net
Wed Mar 3 09:44:44 PST 2010


Hi,

Recently, I found myself in need of the functionality that is (or should 
have been) in std.process, but unfortunately I found it lacking in many 
respects.  Assuming that improving it currently isn't at the top of the 
to-do list for Phobos, I decided not to wait, and rather to write my own 
version.  If you want you can check it out here:

Code:   http://github.com/kyllingstad/ltk/blob/master/ltk/process.d
Docs:   http://kyllingen.net/code/ltk/doc/process.html

I don't know if any of it is usable for Phobos, but if it is, I'd be 
happy to contribute.

I've tried to write it in the style of std.concurrency, with a function 
spawnProcess() that returns a Pid struct.  Currently it is for POSIX 
only, since I have no experience at all with the Windows API.

-Lars


More information about the phobos mailing list