Skip to content

Commit

Permalink
Auto merge of #38018 - sourcefrog:doc, r=alexcrichton
Browse files Browse the repository at this point in the history
Document that Process::command will search the PATH
  • Loading branch information
bors committed Dec 1, 2016
2 parents 827eba4 + db93677 commit 149e76f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/libstd/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ impl Command {
/// Builder methods are provided to change these defaults and
/// otherwise configure the process.
///
/// If `program` is not an absolute path, the `PATH` will be searched in
/// an OS-defined way.
///
/// The search path to be used may be controlled by setting the
/// `PATH` environment variable on the Command,
/// but this has some implementation limitations on Windows
/// (see https://github.com/rust-lang/rust/issues/37519).
///
/// # Examples
///
/// Basic usage:
Expand Down

0 comments on commit 149e76f

Please sign in to comment.