I am trying to run a simple script for Tessel passing command arguments and expect them to be available in process.argv
, but only getting the first two of them.
Running script via t2 run index.js myparam
Logging process.argv I am getting [ '/usr/bin/node', '/tmp/remote-script/index.js' ]
, but not getting myparam
as third parameter.
Any help would be highly appreciated.