diff options
| author | bors <bors@rust-lang.org> | 2017-06-06 08:38:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-06 08:38:50 +0000 |
| commit | 9006db1fb0a543f927398b86cf4475ad3ec332da (patch) | |
| tree | 8cf9dfa1d75771d110424599dafe62880f6e1319 /src/liballoc_jemalloc | |
| parent | 17f493fffc4e7b7a4110d2528e9f1272470dda10 (diff) | |
| parent | 02955f508e577d104bcd0f6b8b92e7a7b4657708 (diff) | |
| download | rust-9006db1fb0a543f927398b86cf4475ad3ec332da.tar.gz rust-9006db1fb0a543f927398b86cf4475ad3ec332da.zip | |
Auto merge of #42436 - ollie27:win_spawn_name, r=alexcrichton
Always quote program name in Command::spawn on Windows
[`CreateProcess`](https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425.aspx) will interpret args as part of the binary name if it
doesn't find the binary using just the unquoted name. For example if
`foo.exe` doesn't exist, `Command::new("foo").arg("bar").spawn()` will
try to launch `foo bar.exe` which is clearly not desired.
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions
