1 write to _process
Microsoft.Arcade.Common (1)
Command.cs (1)
43
_process
= new Process()
28 references to _process
Microsoft.Arcade.Common (28)
Command.cs (28)
60
if (
_process
.StartInfo.RedirectStandardOutput)
62
_process
.OutputDataReceived += (sender, args) =>
68
if (
_process
.StartInfo.RedirectStandardError)
70
_process
.ErrorDataReceived += (sender, args) =>
76
_process
.EnableRaisingEvents = true;
78
if (
_process
.StartInfo.RedirectStandardOutput ||
79
_process
.StartInfo.RedirectStandardInput ||
80
_process
.StartInfo.RedirectStandardError)
82
_process
.StartInfo.UseShellExecute = false;
88
_process
.Start();
90
if (
_process
.StartInfo.RedirectStandardOutput)
92
_process
.BeginOutputReadLine();
95
if (
_process
.StartInfo.RedirectStandardError)
97
_process
.BeginErrorReadLine();
100
_process
.WaitForExit();
102
var exitCode =
_process
.ExitCode;
107
_process
.StartInfo,
115
_process
.StartInfo.WorkingDirectory = projectDirectory;
124
_process
.StartInfo.Environment[name] = value;
126
_process
.StartInfo.UseShellExecute = false;
147
_process
.StartInfo.RedirectStandardOutput = true;
155
_process
.StartInfo.RedirectStandardError = true;
163
_process
.StartInfo.RedirectStandardOutput = true;
178
_process
.StartInfo.RedirectStandardError = true;
193
_process
.StartInfo.RedirectStandardOutput = true;
205
_process
.StartInfo.RedirectStandardError = true;
232
_statusForward($"[EXEC Begin] {FormatProcessInfo(
_process
.StartInfo, includeWorkingDirectory: false)}");
242
var message = $"{FormatProcessInfo(
_process
.StartInfo, includeWorkingDirectory: !success)} exited with {exitCode}";