public override bool Execute() { var pathVar = new[] { "PATH=" + GetEnvPath() }; EnvironmentVariables = EnvironmentVariables == null ? pathVar : EnvironmentVariables.Concat(pathVar).ToArray(); return(base.Execute()); }