]> git.lizzy.rs Git - rust.git/commit
Add std::os::windows::process::CommandExt, with set_creation_flags and add_creation_f...
authorTed Mielczarek <ted@mielczarek.org>
Thu, 1 Dec 2016 00:44:07 +0000 (19:44 -0500)
committerTed Mielczarek <ted@mielczarek.org>
Thu, 1 Dec 2016 00:44:07 +0000 (19:44 -0500)
commit8b1c4cbbaf0252ed68f62b0613a8da9725141262
treedf1d9c922a8f689eb0a06093ee4e7408fd10dbb5
parent127a83df6615d09cda6ed9b53f7daba2d78c925d
Add std::os::windows::process::CommandExt, with set_creation_flags and add_creation_flags methods. Fixes #37827

This adds a CommandExt trait for Windows along with an implementation of it
for std::process::Command with methods to set the process creation flags that
are passed to CreateProcess.
src/libstd/process.rs
src/libstd/sys/windows/ext/process.rs
src/libstd/sys/windows/process.rs