Skip to content

Commit bfcda90

Browse files
committed
[dotnet] Encoding process output
Fixes #11947
1 parent 0ce64cb commit bfcda90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dotnet/src/webdriver/SeleniumManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ private static string RunCommand(string fileName, string arguments)
145145
process.StartInfo.FileName = $"{basePath}/{fileName}";
146146
process.StartInfo.Arguments = arguments;
147147
process.StartInfo.UseShellExecute = false;
148+
process.StartInfo.StandardErrorEncoding = Encoding.UTF8;
149+
process.StartInfo.StandardOutputEncoding = Encoding.UTF8;
148150
process.StartInfo.RedirectStandardOutput = true;
149151
process.StartInfo.RedirectStandardError = true;
150152

0 commit comments

Comments
 (0)