Skip to content

Commit

Permalink
Update nuget/helpers/lib/NuGetUpdater/NuGetUpdater.Core/Utilities/Pro…
Browse files Browse the repository at this point in the history
…cessExtensions.cs

Co-authored-by: Keith Dahlby <dahlbyk@gmail.com>
  • Loading branch information
ffried and dahlbyk committed Sep 27, 2024
1 parent 25ad975 commit 12d77fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static class ProcessEx
var redirectInitiated = new ManualResetEventSlim();
var process = new Process
{
StartInfo = new ProcessStartInfo(fileName, arguments ?? Array.Empty<string>())
StartInfo = new ProcessStartInfo(fileName, arguments ?? [])
{
UseShellExecute = false, // required to redirect output
RedirectStandardOutput = true,
Expand Down

0 comments on commit 12d77fa

Please sign in to comment.