Skip to content

Commit

Permalink
Update IptcInterfaceTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Jan 1, 2024
1 parent 9819992 commit a091ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPTables.Net.Tests/IptcInterfaceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void TestStartup()

private void Execute(string binary, string args)
{
var process = Process.Start(binary, args);
var process = Process.Start(new ProcessStartInfo(binary, args){RedirectStandardError = true, RedirectStandardOutput = true});
Console.WriteLine(process.StandardOutput.ReadToEnd());
Console.Error.WriteLine(process.StandardError.ReadToEnd());
process.WaitForExit();
Expand Down

0 comments on commit a091ba7

Please sign in to comment.