Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

System args not populating #57

Open
zielinskin opened this issue Oct 9, 2015 · 0 comments
Open

System args not populating #57

zielinskin opened this issue Oct 9, 2015 · 0 comments

Comments

@zielinskin
Copy link

Running the exe with these arguments:
\foo\foo\foo\foo\TrifleJS.exe \foo\foo\foo\foo\rasterize.js http://foo:123/foo/foo.html?foo=123 C:\foo\foo.png

When doing a loop thru system.args however, only returns this:
0: \foo\foo\foo\foo\rasterize.js

I expect this:
0: \foo\foo\foo\foo\rasterize.js
1: http://foo:123/foo/foo.html?foo=123
2: C:\foo\foo.png

Here is the command I'm running:

var system = require('system');
system.args.forEach(function(arg, i) {
console.log(i + ': ' + arg);
});

This is on beta 0.5

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

No branches or pull requests

1 participant