Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass process arguments and environment variables to node.script object #35

Open
1 of 3 tasks
ronenlh opened this issue Jun 20, 2021 · 0 comments
Open
1 of 3 tasks

Comments

@ronenlh
Copy link

ronenlh commented Jun 20, 2021

Nature of issue?

  • Found a bug in an example
  • Existing example enhancement
  • Suggest a new example

Existing example enhancement details:

Existing examples such as freesound, twitter, and giphy, use process.env through dot-env to access credentials.
There are no examples which use process.argv.

New example details:

There should be an example on how to pass arguments to node.script from inside the patcher (such as an inlet), which can then be retrieved through process.argv.
There should also be an example on how to pass environment variables to node.script, set in the patcher (such as from the inspector), which can be retrieved through process.env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant