We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ede3cd commit e48ba91Copy full SHA for e48ba91
1 file changed
crates/fspy/src/command.rs
@@ -30,6 +30,9 @@ pub struct Command {
30
}
31
32
impl Command {
33
+ /// Create a new command to spy on the given program.
34
+ /// Initially, environment variables are not inherited from the parent.
35
+ /// To inherit, explicitly use `.envs(std::env::vars_os())`.
36
pub fn new<P: AsRef<OsStr>>(program: P) -> Self {
37
Self {
38
program: program.as_ref().to_os_string(),
0 commit comments