Skip to content

Commit

Permalink
yml 8
Browse files Browse the repository at this point in the history
  • Loading branch information
iadgovuser29 committed Jan 6, 2025
1 parent 07a17f5 commit a51e21d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotnet/ComponentClassRegistry/Pcie/src/ShellHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ namespace Pcie;
public static class ShellHelper {
public static Task<Tuple<int, string, string>> Ethtool(string arguments) {
ProcessStartInfo info = new() {
FileName = "ethtool",
Arguments = "-P " + arguments,
FileName = "bash",
Arguments = $"-c \"ethtool {arguments}\"",
RedirectStandardOutput = true,
RedirectStandardError = true,
UseShellExecute = false,
Expand Down

0 comments on commit a51e21d

Please sign in to comment.