{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/842","repository_url":"https://api.github.com/repos/hashicorp/nomad","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/842/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/842/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/842/events","html_url":"https://github.com/hashicorp/nomad/pull/842","id":135820338,"number":842,"title":"drivers: validate that command contains one field","user":{"login":"dadgar","id":1047914,"avatar_url":"https://avatars.githubusercontent.com/u/1047914?v=3","gravatar_id":"","url":"https://api.github.com/users/dadgar","html_url":"https://github.com/dadgar","followers_url":"https://api.github.com/users/dadgar/followers","following_url":"https://api.github.com/users/dadgar/following{/other_user}","gists_url":"https://api.github.com/users/dadgar/gists{/gist_id}","starred_url":"https://api.github.com/users/dadgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadgar/subscriptions","organizations_url":"https://api.github.com/users/dadgar/orgs","repos_url":"https://api.github.com/users/dadgar/repos","events_url":"https://api.github.com/users/dadgar/events{/privacy}","received_events_url":"https://api.github.com/users/dadgar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-02-23T18:20:28Z","updated_at":"2016-09-23T22:06:27Z","closed_at":"2016-02-23T21:45:10Z","pull_request":{"url":"https://api.github.com/repos/hashicorp/nomad/pulls/842","html_url":"https://github.com/hashicorp/nomad/pull/842","diff_url":"https://github.com/hashicorp/nomad/pull/842.diff","patch_url":"https://github.com/hashicorp/nomad/pull/842.patch"},"body":"Drivers that support a command field now validate that a single input is given."},"comment":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/comments/249313715","html_url":"https://github.com/hashicorp/nomad/pull/842#issuecomment-249313715","issue_url":"https://api.github.com/repos/hashicorp/nomad/issues/842","id":249313715,"user":{"login":"ninoles","id":772819,"avatar_url":"https://avatars.githubusercontent.com/u/772819?v=3","gravatar_id":"","url":"https://api.github.com/users/ninoles","html_url":"https://github.com/ninoles","followers_url":"https://api.github.com/users/ninoles/followers","following_url":"https://api.github.com/users/ninoles/following{/other_user}","gists_url":"https://api.github.com/users/ninoles/gists{/gist_id}","starred_url":"https://api.github.com/users/ninoles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninoles/subscriptions","organizations_url":"https://api.github.com/users/ninoles/orgs","repos_url":"https://api.github.com/users/ninoles/repos","events_url":"https://api.github.com/users/ninoles/events{/privacy}","received_events_url":"https://api.github.com/users/ninoles/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T22:06:26Z","updated_at":"2016-09-23T22:06:26Z","body":"No, I'm trying to start \"C:\\Program Files\\Python35\\python.exe\".   I could push out to cmd.exe or powershell, but that's not ideal.  I could also put the binary path in an environment variable and set command with it (the validation happen BEFORE variable replacement in the case of exec and raw_exec driver).\r\n\r\nAlso, one problem with it is the error report is confusing: \"C:\\Program Files\\Python35\\python.exe\" doesn't have any arguments, so why it complains about it ?\r\n\r\nIn the end, I think the validation shouldn't happen, or at least shouldn't be an error.  The config format is very well suited for supporting space in executable path, so why not allowing it ?"}}
{"actor":{"display_login":"ninoles"}}