Changeset 16993 for branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Isolation/RunnerHost.cs
- Timestamp:
- 05/29/19 12:16:15 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Isolation/RunnerHost.cs
r16984 r16993 74 74 UserName = string.IsNullOrEmpty(UserName) ? null : UserName, 75 75 PasswordInClearText = string.IsNullOrEmpty(Password) ? null : Password, 76 Domain = string.IsNullOrEmpty(Domain) ? null : Domain,76 Domain = string.IsNullOrEmpty(Domain) ? null : Domain, 77 77 WorkingDirectory = Directory.GetCurrentDirectory() 78 78 }, … … 86 86 Runner.Serialize(runner, process.StandardInput.BaseStream); 87 87 88 process.BeginOutputReadLine(); 89 process.BeginErrorReadLine(); 90 88 91 if (!runner.QuietMode) { 89 process.BeginOutputReadLine();90 process.BeginErrorReadLine();91 92 process.OutputDataReceived += (s, e) => Console.WriteLine(e.Data); 92 93 process.ErrorDataReceived += (s, e) => Console.WriteLine(e.Data); … … 124 125 /// When the child process gets finished without requested cancellation, the linked token gets cancelled and a result set. 125 126 /// </summary> 126 /// <param name="token"></param>127 /// <returns></returns>128 127 private Task<bool> RegisterCancellation(CancellationToken token) { 129 128 if (process != null && State == RunnerState.Starting) {
Note: See TracChangeset
for help on using the changeset viewer.