-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
With vswhere 3.0.1+e2e4e03c65 bundled with VS2022 17.1.6, -utf8 option does not work correctly; even with the option, the command seems to run with the machine's locale. The code described here throws exception during parsing the output:
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at C:\Work\decode_test\test.js:3:24
at exithandler (node:child_process:395:5)
at ChildProcess.errorhandler (node:child_process:407:5)
at ChildProcess.emit (node:events:527:28)
at ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Node.js v18.0.0
michpolicht
Metadata
Metadata
Assignees
Labels
No labels