Skip to content

TypeError: Forked processes must have an IPC channel #8167

Closed
@sandro-pasquali

Description

@sandro-pasquali

v.6.4.0
Darwin MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64

I think this is my error, but maybe something to document?

After upgrading from 6.3 -> 6.4 fork will not accept the following:

fork('...', [], {
    stdio: [0,1,2] 
});

Requiring:

fork('...', [], {
    stdio: [0,1,2,'ipc']
});

Not setting stdio also works...

Metadata

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions