Property InheritEnvironment
InheritEnvironment
Gets or sets whether to inherit the parent process's environment variables.
public bool InheritEnvironment { get; set; }
Property Value
- bool
If
true, the subprocess inherits all parent environment variables (with Environment additions/overrides). Default istrue.