diff options
| author | bors <bors@rust-lang.org> | 2023-07-20 07:12:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-20 07:12:22 +0000 |
| commit | c67cb3e577bdd4de640eb11d96cd5ef5afe0eb0b (patch) | |
| tree | 718bce56573cbb50af071101db19daf13ce003a3 /library/std/src | |
| parent | 0646a5d1aa3745cb448db247f6fa432890a1812b (diff) | |
| parent | 770c8d06672ea8d317df7bdf5ff5f8ce954ecbdd (diff) | |
| download | rust-c67cb3e577bdd4de640eb11d96cd5ef5afe0eb0b.tar.gz rust-c67cb3e577bdd4de640eb11d96cd5ef5afe0eb0b.zip | |
Auto merge of #113878 - matthiaskrgr:rollup-u0d3kzx, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #113710 (Fix rpath for libdir is specified) - #113787 (Update documentation for std::process::Command's new method) - #113795 (Properly document `lifetime_mapping` in `OpaqueTy`) - #113857 (Add tests for `--document-hidden-items` option) - #113871 (Use the correct span for displaying the line following a derive sugge…) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/process.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs index 8f3201b0091..f9cb755b01a 100644 --- a/library/std/src/process.rs +++ b/library/std/src/process.rs @@ -558,6 +558,14 @@ impl Command { /// but this has some implementation limitations on Windows /// (see issue #37519). /// + /// # Platform-specific behavior + /// + /// Note on Windows: For executable files with the .exe extension, + /// it can be omitted when specifying the program for this Command. + /// However, if the file has a different extension, + /// a filename including the extension needs to be provided, + /// otherwise the file won't be found. + /// /// # Examples /// /// Basic usage: |
