Closed
Description
- Version: possibly all
- Platform: Windows 7 x64
- Subsystem: test, child_process
test\parallel\test-child-process-stdin.js
uses more
command and does not expect any error messages in the stderr (see common.mustNotCall()
).
However, some core Windows shell commands work wrong with Unicode shell codepage. See this answer.
To check more
command:
chcp 65001 && more
Active code page: 65001
Not enough memory.
chcp 1252 && more
Active code page: 1252
[reading from stdio]
To check test\parallel\test-child-process-stdin.js
pass:
chcp 65001 && node test\parallel\test-child-process-stdin.js
Active code page: 65001
... AssertionError: function should not have been called ...
chcp 1252 && node test\parallel\test-child-process-stdin.js
Active code page: 1252
stdout: hello world