Make all command execution synchronous
- This fixes a bunch of weird races I was seeing building larger solutions.
This commit is contained in:
parent
c1e2d152e3
commit
5872aa0f0c
5 changed files with 29 additions and 30 deletions
|
@ -25,8 +25,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
|
|||
var result = RunCsc($"-noconfig @\"{responseFileArg.Value}\"")
|
||||
.ForwardStdErr()
|
||||
.ForwardStdOut()
|
||||
.RunAsync()
|
||||
.Result;
|
||||
.Execute();
|
||||
|
||||
return result.ExitCode;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue