Skip to content

Allow to substitute executed program in ProcessBuilder#4442

Merged
bors merged 1 commit intorust-lang:masterfrom
Xanewok:process-builder-program
Aug 28, 2017
Merged

Allow to substitute executed program in ProcessBuilder#4442
bors merged 1 commit intorust-lang:masterfrom
Xanewok:process-builder-program

Conversation

@Xanewok
Copy link
Copy Markdown
Contributor

@Xanewok Xanewok commented Aug 27, 2017

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

@rust-highfive
Copy link
Copy Markdown

r? @matklad

(rust_highfive has picked a reviewer for you, use r? to override)

@Xanewok
Copy link
Copy Markdown
Contributor Author

Xanewok commented Aug 27, 2017

r? @alexcrichton

@alexcrichton
Copy link
Copy Markdown
Member

@bors: r+

@bors
Copy link
Copy Markdown
Contributor

bors commented Aug 28, 2017

📌 Commit d554ce5 has been approved by alexcrichton

@bors
Copy link
Copy Markdown
Contributor

bors commented Aug 28, 2017

⌛ Testing commit d554ce5 with merge 2a6b1c11b65a1e456afe97246a4b4791ad6bbe27...

@bors
Copy link
Copy Markdown
Contributor

bors commented Aug 28, 2017

💔 Test failed - status-appveyor

@alexcrichton
Copy link
Copy Markdown
Member

@bors: retry

@bors
Copy link
Copy Markdown
Contributor

bors commented Aug 28, 2017

⌛ Testing commit d554ce5 with merge 814c389...

bors added a commit that referenced this pull request Aug 28, 2017
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
@bors
Copy link
Copy Markdown
Contributor

bors commented Aug 28, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 814c389 to master...

@bors bors merged commit d554ce5 into rust-lang:master Aug 28, 2017
@Xanewok
Copy link
Copy Markdown
Contributor Author

Xanewok commented Aug 28, 2017

Thanks!

@Xanewok Xanewok deleted the process-builder-program branch August 28, 2017 16:25
@ehuss ehuss added this to the 1.22.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants