{"action":"created","issue":{"url":"https://api.github.com/repos/sedwards2009/extraterm/issues/17","repository_url":"https://api.github.com/repos/sedwards2009/extraterm","labels_url":"https://api.github.com/repos/sedwards2009/extraterm/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/sedwards2009/extraterm/issues/17/comments","events_url":"https://api.github.com/repos/sedwards2009/extraterm/issues/17/events","html_url":"https://github.com/sedwards2009/extraterm/issues/17","id":143055632,"number":17,"title":"Command line start up options and flags don't work correctly from the packaged binaries","user":{"login":"sedwards2009","id":6926644,"avatar_url":"https://avatars.githubusercontent.com/u/6926644?v=3","gravatar_id":"","url":"https://api.github.com/users/sedwards2009","html_url":"https://github.com/sedwards2009","followers_url":"https://api.github.com/users/sedwards2009/followers","following_url":"https://api.github.com/users/sedwards2009/following{/other_user}","gists_url":"https://api.github.com/users/sedwards2009/gists{/gist_id}","starred_url":"https://api.github.com/users/sedwards2009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedwards2009/subscriptions","organizations_url":"https://api.github.com/users/sedwards2009/orgs","repos_url":"https://api.github.com/users/sedwards2009/repos","events_url":"https://api.github.com/users/sedwards2009/events{/privacy}","received_events_url":"https://api.github.com/users/sedwards2009/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sedwards2009/extraterm/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/sedwards2009/extraterm/labels/prio:high","name":"prio:high","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T19:21:59Z","updated_at":"2016-03-23T19:34:19Z","closed_at":null,"body":"Starting up extraterm from a binary zip download and passing in some flags and options (e.g. `--cygwinDir`) doesn't parse the options correctly.\r\n\r\nThe problem is in the `commander` module which Extraterm uses to parse command line arguments. It assumes that the first two items in `process.argv` are the nodejs executable and then the name of script being executed. This assumption is violated when starting up the packaged version of Extraterm.\r\n\r\nA workaround is to pass an extra dummy value before the first flag or option. i.e. `extraterm.exe XXX --cygwinDir c:/foo`\r\n"},"comment":{"url":"https://api.github.com/repos/sedwards2009/extraterm/issues/comments/200510039","html_url":"https://github.com/sedwards2009/extraterm/issues/17#issuecomment-200510039","issue_url":"https://api.github.com/repos/sedwards2009/extraterm/issues/17","id":200510039,"user":{"login":"sedwards2009","id":6926644,"avatar_url":"https://avatars.githubusercontent.com/u/6926644?v=3","gravatar_id":"","url":"https://api.github.com/users/sedwards2009","html_url":"https://github.com/sedwards2009","followers_url":"https://api.github.com/users/sedwards2009/followers","following_url":"https://api.github.com/users/sedwards2009/following{/other_user}","gists_url":"https://api.github.com/users/sedwards2009/gists{/gist_id}","starred_url":"https://api.github.com/users/sedwards2009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedwards2009/subscriptions","organizations_url":"https://api.github.com/users/sedwards2009/orgs","repos_url":"https://api.github.com/users/sedwards2009/repos","events_url":"https://api.github.com/users/sedwards2009/events{/privacy}","received_events_url":"https://api.github.com/users/sedwards2009/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T19:34:18Z","updated_at":"2016-03-23T19:34:18Z","body":"See issue https://github.com/tj/commander.js/issues/512 \r\n\r\n"}}