Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
  • Loading branch information
panstromek and m-ou-se authored Oct 31, 2020
1 parent d417bbe commit db416b2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions library/std/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,10 @@ impl Command {
///
/// [`args`]: Command::args
///
/// Note that the argument is passed to the program directly as is, so you shouldn't wrap it in quotes
/// or escape special characters the same way you would do that when running the program from terminal.
/// Note that the argument is not passed through a shell, but given
/// literally to the program. This means that shell syntax like quotes,
/// escaped characters, word splitting, glob patterns, substitution, etc.
/// have no effect.
///
/// # Examples
///
Expand All @@ -585,8 +587,10 @@ impl Command {
///
/// [`arg`]: Command::arg
///
/// Note that each argument is passed to the program directly as is, so you shouldn't wrap it in quotes
/// or escape special characters the same way you would do that when running the program from terminal directly.
/// Note that the arguments are not passed through a shell, but given
/// literally to the program. This means that shell syntax like quotes,
/// escaped characters, word splitting, glob patterns, substitution, etc.
/// have no effect.
///
/// # Examples
///
Expand Down

0 comments on commit db416b2

Please sign in to comment.