Skip to content

Detect in script if io.js or node is running #1447

@isavegas

Description

@isavegas

I would absolutely adore the ability to check whether Node or io.js is running the script. Perhaps via changing

process.versions.node

to

process.versions.iojs

As it is, the best way seems to be to have the script fork a child_process of the executable that started it, with the -h flag, then to parse for iojs.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions