You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I guess it would be nice to let users control stdout encoding. As long as spawn cannot have "encdoing" , there is an option to support it with runOptions:
Hey,
I guess it would be nice to let users control stdout encoding. As long as spawn cannot have "encdoing" , there is an option to support it with runOptions:
async run(userArguments, runOptions = {}) {
++runOptions.encoding = runOptions.encoding || 'utf8';
...
child = spawn(javaExe, javaArgs, spawnOptions);
++child.stdout.setEncoding(runOptions.encoding);
...
The text was updated successfully, but these errors were encountered: