Skip to content

Commit

Permalink
[dotnet] Encoding process output
Browse files Browse the repository at this point in the history
Fixes #11947
  • Loading branch information
diemol committed May 5, 2023
1 parent 0ce64cb commit bfcda90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotnet/src/webdriver/SeleniumManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ private static string RunCommand(string fileName, string arguments)
process.StartInfo.FileName = $"{basePath}/{fileName}";
process.StartInfo.Arguments = arguments;
process.StartInfo.UseShellExecute = false;
process.StartInfo.StandardErrorEncoding = Encoding.UTF8;
process.StartInfo.StandardOutputEncoding = Encoding.UTF8;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;

Expand Down

0 comments on commit bfcda90

Please sign in to comment.