Closed
Description
- Node.js Version: 8.x
- OS: MS Windows 7
- Scope (install, code, runtime, meta, other?): embedding
I try to embed node into non-console application. With console application it works fine. But with non-console application node doesn't evaluate script. debugger output writes next: internal/process/stdio.js:4433: Uncaught Unknown stream file type
.
I think it is realted with tty_wrap.guessHandleType(fd)
call in lib\internal\process\stdio.js
file and GuessHandleType
function in tty_wrap.cc
file where t
variable have UV_UNKNOWN_HANDLE
value in my case. And it seems, that there is no any supported input/output in non-console application and node stops script execution.
I need an advice - maybe there is any way to change input/output to what i need or block it?
Metadata
Metadata
Assignees
Labels
No labels