Skip to content

Commit

Permalink
Update LinuxOsxProcess.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jun 23, 2023
1 parent 37a2052 commit 5e5d665
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/DiffEngine/Process/LinuxOsxProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ static bool TryRunPs([NotNullWhen(true)] out string? result)

if (process.ExitCode != 0)
{
var error = $@"Could not execute process. Command line: ps {arguments}.
Output: {outputBuilder}
Error: {errorBuilder}";
var error = $"""
Could not execute process. Command line: ps {arguments}.
Output: {outputBuilder}
Error: {errorBuilder}
""";
throw new(error);
}

Expand Down

0 comments on commit 5e5d665

Please sign in to comment.