diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2017-06-04 21:47:24 +0100 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2017-06-04 21:47:24 +0100 |
| commit | 7afcf51fe4f635ff4e864ee13085397b41880fa6 (patch) | |
| tree | f8498827dc96cd05f6c448a23d404469f64f0a04 /src/liballoc_jemalloc | |
| parent | 0da9721ab49d80bf74208e94a891b12c4a248507 (diff) | |
| download | rust-7afcf51fe4f635ff4e864ee13085397b41880fa6.tar.gz rust-7afcf51fe4f635ff4e864ee13085397b41880fa6.zip | |
Always quote program name in Command::spawn on Windows
`CreateProcess` 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
