Window CMD Encoding 변경
This commit is contained in:
parent
c3d01cd0c8
commit
4e877a7daa
1 changed files with 3 additions and 1 deletions
|
|
@ -190,7 +190,9 @@ class ProcessExecutor {
|
|||
print('Execute Bat: ${file.path} \n ${shell.toString()}');
|
||||
file.createSync();
|
||||
file.writeAsStringSync(shell.toString());
|
||||
await Process.run('cmd', ['/C', file.path], workingDirectory: workspace)
|
||||
await Process.run('cmd', ['/C', file.path],
|
||||
workingDirectory: workspace,
|
||||
stdoutEncoding: Encoding.getByName("US-ASCII"))
|
||||
.then((ProcessResult result) {
|
||||
processResult = result;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue