Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues asking questions about Node.js.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions