{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku/issues/186","labels_url":"https://api.github.com/repos/heroku/heroku/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku/issues/186/comments","events_url":"https://api.github.com/repos/heroku/heroku/issues/186/events","html_url":"https://github.com/heroku/heroku/issues/186","id":2337366,"number":186,"title":"processes doesn't pass through exit codes","user":{"login":"choxi","id":148144,"avatar_url":"https://avatars.githubusercontent.com/u/148144?v=3","gravatar_id":"","url":"https://api.github.com/users/choxi","html_url":"https://github.com/choxi","followers_url":"https://api.github.com/users/choxi/followers","following_url":"https://api.github.com/users/choxi/following{/other_user}","gists_url":"https://api.github.com/users/choxi/gists{/gist_id}","starred_url":"https://api.github.com/users/choxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choxi/subscriptions","organizations_url":"https://api.github.com/users/choxi/orgs","repos_url":"https://api.github.com/users/choxi/repos","events_url":"https://api.github.com/users/choxi/events{/privacy}","received_events_url":"https://api.github.com/users/choxi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/heroku/heroku/labels/bug","name":"bug","color":"ff0000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":42,"created_at":"2011-11-24T04:28:27Z","updated_at":"2015-04-30T18:43:31Z","closed_at":null,"body":"It doesn't seem like `heroku run` passes back the exit code:\r\n\r\n````\r\n% heroku run \"jflsda\"\r\nRunning jfdlksa attached to terminal... up, run.34\r\nsh: jfdlksa: not found\r\n% echo $?\r\n0\r\n````\r\n\r\nIs there any way this could be added?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/heroku/heroku/issues/comments/97915824","html_url":"https://github.com/heroku/heroku/issues/186#issuecomment-97915824","issue_url":"https://api.github.com/repos/heroku/heroku/issues/186","id":97915824,"user":{"login":"dickeyxxx","id":216188,"avatar_url":"https://avatars.githubusercontent.com/u/216188?v=3","gravatar_id":"","url":"https://api.github.com/users/dickeyxxx","html_url":"https://github.com/dickeyxxx","followers_url":"https://api.github.com/users/dickeyxxx/followers","following_url":"https://api.github.com/users/dickeyxxx/following{/other_user}","gists_url":"https://api.github.com/users/dickeyxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/dickeyxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickeyxxx/subscriptions","organizations_url":"https://api.github.com/users/dickeyxxx/orgs","repos_url":"https://api.github.com/users/dickeyxxx/repos","events_url":"https://api.github.com/users/dickeyxxx/events{/privacy}","received_events_url":"https://api.github.com/users/dickeyxxx/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T18:43:31Z","updated_at":"2015-04-30T18:43:31Z","body":"good news (finally)! the new CLI will handle this problem, and I have a PR in to start testing it: https://github.com/heroku/heroku/pull/1519\r\n\r\nRight now it will work behind a flag, but I intend to make that temporary if possible. There is a bit of work left to be done in the v4 module that works with this: https://github.com/heroku/heroku-run\r\n\r\nNamely handling things like stdin and piping, but I hope to merge it soon."}}