about summary refs log tree commit diff
path: root/library/std/src/sys/windows/process
AgeCommit message (Collapse)AuthorLines
2022-05-10Expose process main_thread_handle on Windowsunknown-0/+25
2022-03-23Command: handle exe and batch files separatelyChris Denton-5/+2
2022-03-19Skip a test if symlink creation is not possibleChris Denton-2/+9
2022-03-19Rollup merge of #92519 - ChrisDenton:command-maybe-verbatim, r=dtolnayDylan DPC-2/+5
Use verbatim paths for `process::Command` if necessary In #89174, the standard library started using verbatim paths so longer paths are usable by default. However, `Command` was originally left out because of the way `CreateProcessW` was being called. This was changed as a side effect of #87704 so now `Command` paths can be converted to verbatim too (if necessary).
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+1
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2022-02-17Use verbatim paths for `process::Command` if necessaryChris Denton-2/+5
2022-02-14Maintain broken symlink behaviour for the Windows exe resolverChris Denton-0/+11
2022-01-03Explicitly pass `PATH` to the Windows exe resolverChris Denton-22/+17
2021-12-22Fix testsChris Denton-0/+4
2021-10-31 Windows: Resolve Command program without using the current directoryChris Denton-0/+52
2021-07-09Unescaped command-line arguments for WindowsKornel-1/+22
Fixes #29494
2021-07-09Test escaping of trialing slashes in Windows command-line argsKornel-0/+5
2021-05-19Windows `Command` environment variables are case-preservingChris Denton-0/+61
But comparing is case-insensitive.
2021-02-17Expose force_quotes on Windows.Yonggang Luo-7/+19
Quotes the arg and not quotes the arg have different effect on Windows when the program called are msys2/cygwin program. Refer to https://github.com/msys2/MSYS2-packages/issues/2176 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+31
Also doing fmt inplace as requested.