Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

process.stdin error if run as Google Native API host on Windows #7345

Description

@sameoldmadness

I want to use Node as Google Native API host.

When i access process.stdin node throws an exception:

Error: EINVAL, invalid argument

Here's the script:

try {
    process.stdin;
} catch (e) {
    require('fs').writeFile('error.log', e);
}

It works fine if I run it directly from command line,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions