Auto merge of #4442 - Xanewok:process-builder-program, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 28 Aug 2017 15:52:06 +0000 (15:52 +0000)
committerbors <bors@rust-lang.org>
Mon, 28 Aug 2017 15:52:06 +0000 (15:52 +0000)
Allow to substitute executed program in `ProcessBuilder`

Extends #4424. Sorry for the noise, turns out it'd also be useful to substite the executed program (e.g. for rls, which needs to use a rustc shim itself) without having to copy over manually all parts of the `ProcessBuilder`.

While I'm at it, do you think this needs even more functionality, like being able to specify `None` for the `cwd` or `jobserver` (currently API exposes only ability to specify `Some(...)` as values for those)?

r? @alexcrichton


Trivial merge