{"action":"created","issue":{"url":"https://api.github.com/repos/appc/spec/issues/59","labels_url":"https://api.github.com/repos/appc/spec/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/appc/spec/issues/59/comments","events_url":"https://api.github.com/repos/appc/spec/issues/59/events","html_url":"https://github.com/appc/spec/issues/59","id":52487767,"number":59,"title":"spec: application's working directory","user":{"login":"mpasternacki","id":56355,"avatar_url":"https://avatars.githubusercontent.com/u/56355?v=3","gravatar_id":"","url":"https://api.github.com/users/mpasternacki","html_url":"https://github.com/mpasternacki","followers_url":"https://api.github.com/users/mpasternacki/followers","following_url":"https://api.github.com/users/mpasternacki/following{/other_user}","gists_url":"https://api.github.com/users/mpasternacki/gists{/gist_id}","starred_url":"https://api.github.com/users/mpasternacki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpasternacki/subscriptions","organizations_url":"https://api.github.com/users/mpasternacki/orgs","repos_url":"https://api.github.com/users/mpasternacki/repos","events_url":"https://api.github.com/users/mpasternacki/events{/privacy}","received_events_url":"https://api.github.com/users/mpasternacki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appc/spec/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-12-19T14:24:12Z","updated_at":"2015-01-02T01:46:37Z","closed_at":"2015-01-02T01:46:37Z","body":"Is there an actual reason why the application is required to start in the container's root directory, or is it just scope reduction for first version of the spec?\r\n\r\nThere is no standard utility that I know of, which would do `chdir()` and then `exec()` the provided command; if the command to run needs a specific working directory, it would need to be wrapped in a shell script, or its exec would be something like `[\"/bin/sh\", \"-c\", \"cd /work/dir && exec \\\"${@}\\\"\", \"arvg0\", ACTUAL_COMMAND…]`, which does work, but is kind of ugly, as the app executor could take care of that."},"comment":{"url":"https://api.github.com/repos/appc/spec/issues/comments/68505187","html_url":"https://github.com/appc/spec/issues/59#issuecomment-68505187","issue_url":"https://api.github.com/repos/appc/spec/issues/59","id":68505187,"user":{"login":"philips","id":33544,"avatar_url":"https://avatars.githubusercontent.com/u/33544?v=3","gravatar_id":"","url":"https://api.github.com/users/philips","html_url":"https://github.com/philips","followers_url":"https://api.github.com/users/philips/followers","following_url":"https://api.github.com/users/philips/following{/other_user}","gists_url":"https://api.github.com/users/philips/gists{/gist_id}","starred_url":"https://api.github.com/users/philips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips/subscriptions","organizations_url":"https://api.github.com/users/philips/orgs","repos_url":"https://api.github.com/users/philips/repos","events_url":"https://api.github.com/users/philips/events{/privacy}","received_events_url":"https://api.github.com/users/philips/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T01:46:37Z","updated_at":"2015-01-02T01:46:37Z","body":"Closing this since https://github.com/appc/spec/pull/70/files is ready to merge and the implementation works in rkt: https://github.com/coreos/rocket/pull/316"}}