{"action":"closed","issue":{"url":"https://api.github.com/repos/domenic/traceur-runner/issues/2","labels_url":"https://api.github.com/repos/domenic/traceur-runner/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/domenic/traceur-runner/issues/2/comments","events_url":"https://api.github.com/repos/domenic/traceur-runner/issues/2/events","html_url":"https://github.com/domenic/traceur-runner/issues/2","id":53433378,"number":2,"title":"Allow running scripts with arguments","user":{"login":"pornel","id":72159,"avatar_url":"https://avatars.githubusercontent.com/u/72159?v=3","gravatar_id":"","url":"https://api.github.com/users/pornel","html_url":"https://github.com/pornel","followers_url":"https://api.github.com/users/pornel/followers","following_url":"https://api.github.com/users/pornel/following{/other_user}","gists_url":"https://api.github.com/users/pornel/gists{/gist_id}","starred_url":"https://api.github.com/users/pornel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pornel/subscriptions","organizations_url":"https://api.github.com/users/pornel/orgs","repos_url":"https://api.github.com/users/pornel/repos","events_url":"https://api.github.com/users/pornel/events{/privacy}","received_events_url":"https://api.github.com/users/pornel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-05T19:32:46Z","updated_at":"2015-03-17T09:02:50Z","closed_at":"2015-03-17T09:02:50Z","body":"It's tricky to run scripts that depend on command-line arguments:\r\n\r\n* every file path in arguments is run as JS, so `traceur-runner image-processor.js image.jpg` causes a torrent of errors\r\n* `traceur-runner` is visible in `process.argv`\r\n\r\nThis confuses scripts, e.g.\r\n\r\n```sh\r\ntraceur-runner ./node_modules/.bin/mocha\r\n```\r\n\r\ncauses endless loop."}}