Skip to content

Wrong example code for daemon. Printing to stdout without setting it to any file after daemon #30

Description

@goelvivek
// this code is run twice// see implementation notes belowconsole.log(process.pid);// after this point, we are a daemonrequire('daemon')();//As stdout is closed here. process.pid will not get printed anywhere. console.log(process.pid);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions