Summary
Gets or sets search paths for files, directories for temporary files, application-specific options, and other similar information.
- Namespace
- Cake
.Core .IO - Containing Type
- ProcessSettings
Syntax
public IDictionary<string, string> EnvironmentVariables { get; set; }
Examples
StartProcess("cmd", new ProcessSettings{
Arguments = "/c set",
EnvironmentVariables = new Dictionary<string, string>{
{ "CI", "True" },
{ "TEMP", MakeAbsolute(Directory("./Temp")).FullPath }
}
});
Value
Type | Description |
---|---|
IDictionary |