D-Programming-Language/phobos — pull request #2411 by kyllingstad (2014-08-10 18:37:14+00:00)
Title: WIP on refactoring std.process - do not pull

This is a work in progress, and **it is not meant to be merged into Phobos master yet**. I am only creating this pull request because I want to use the auto-tester. (Comments are welcome, though!)

The following things have been done so far:

* Moved `spawnProcessImpl()` for POSIX and Windows into `std.internal.process.spawnprocess_posix` and `std.internal.process.spawnprocess_windows`, respectively.
* Moved `environ` into `std.internal.process.environ` (thus obviating `std.internal.processinit`).
* Removed most module-level imports in `std.process`, and added function/class-level imports as necessary.
* Minor cleanup here and there.
* Commented out the old `std.process` functions *temporarily*, to avoid any unintended dependencies on them or their imports.

More changes will follow.