-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The std::run module is a relic from a standard library long since past, and there's not much use to having two modules to execute processes with where one is slightly more convenient. This commit merges the two modules, moving lots of functionality from std::run into std::io::process and then deleting std::run. New things you can find in std::io::process are: * Process::new() now only takes prog/args * Process::configure() takes a ProcessConfig * Process::status() is the same as run::process_status * Process::output() is the same as run::process_output * I/O for spawned tasks is now defaulted to captured in pipes instead of ignored * Process::kill() was added (plus an associated green/native implementation) * Process::wait_with_output() is the same as the old finish_with_output() * destroy() is now signal_exit() * force_destroy() is now signal_kill() Closes #2625 Closes #10016
- Loading branch information
1 parent
8786405
commit a9bd447
Showing
24 changed files
with
674 additions
and
817 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a9bd447
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@a9bd447
a9bd447
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/run-rewrite = a9bd447 into auto
a9bd447
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/run-rewrite = a9bd447 merged ok, testing candidate = a5342d5
a9bd447
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4439
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/2281
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/2282
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4437
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3537
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3543
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4452
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3540
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3546
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4454
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3540
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3545
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3614
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1393
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4446
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3547
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3553
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4214
a9bd447
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = a5342d5