diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0f5f0386bb..3b8179d538 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,4 @@ -#### 7.0.0-alpha009 - 2022-12-07 +#### 7.0.0-alpha010 - 2022-12-07 * Support as .NET 6.0 tool * Auto-Restore after paket install an paket update diff --git a/src/Paket.Core/Installation/UpdateProcess.fs b/src/Paket.Core/Installation/UpdateProcess.fs index cf38502a98..5c903f2855 100644 --- a/src/Paket.Core/Installation/UpdateProcess.fs +++ b/src/Paket.Core/Installation/UpdateProcess.fs @@ -234,18 +234,9 @@ let SelectiveUpdate(dependenciesFile : DependenciesFile, alternativeProjectRoot, let runDotnet arguments = let result = let p = new System.Diagnostics.Process() - p.StartInfo.UseShellExecute <- false p.StartInfo.FileName <- "dotnet" - p.StartInfo.Arguments <- arguments - p.StartInfo.RedirectStandardOutput <- true - p.StartInfo.RedirectStandardError <- true - - p.ErrorDataReceived.Add(fun d -> - if not (isNull d.Data) then tracefn "%s" d.Data) - p.OutputDataReceived.Add(fun d -> - if not (isNull d.Data) then tracefn "%s" d.Data) + p.StartInfo.Arguments <- arguments p.Start() |> ignore - let standardOutput, errorOutput = p.StandardOutput.ReadToEnd(), p.StandardError.ReadToEnd() p.WaitForExit() p.ExitCode