fix(intellij): fix agent IO charset to UTF8. (#723)
parent
3af2ad7c60
commit
b0a62e4af9
|
|
@ -65,7 +65,7 @@ class Agent : ProcessAdapter() {
|
|||
val node = getNodeBinary()
|
||||
val script = getNodeScript()
|
||||
val options = "--dns-result-order=ipv4first"
|
||||
val cmd = GeneralCommandLine(node.absolutePath, options, script.absolutePath)
|
||||
val cmd = GeneralCommandLine(node.absolutePath, options, script.absolutePath).withCharset(Charsets.UTF_8)
|
||||
process = object : KillableProcessHandler(cmd) {
|
||||
override fun readerOptions(): BaseOutputReader.Options {
|
||||
return BaseOutputReader.Options.forMostlySilentProcess()
|
||||
|
|
|
|||
Loading…
Reference in New Issue