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)
60if (_process.StartInfo.RedirectStandardOutput) 62_process.OutputDataReceived += (sender, args) => 68if (_process.StartInfo.RedirectStandardError) 70_process.ErrorDataReceived += (sender, args) => 76_process.EnableRaisingEvents = true; 78if (_process.StartInfo.RedirectStandardOutput || 79_process.StartInfo.RedirectStandardInput || 80_process.StartInfo.RedirectStandardError) 82_process.StartInfo.UseShellExecute = false; 88_process.Start(); 90if (_process.StartInfo.RedirectStandardOutput) 92_process.BeginOutputReadLine(); 95if (_process.StartInfo.RedirectStandardError) 97_process.BeginErrorReadLine(); 100_process.WaitForExit(); 102var 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)}"); 242var message = $"{FormatProcessInfo(_process.StartInfo, includeWorkingDirectory: !success)} exited with {exitCode}";