{"action":"created","comment":{"url":"https://api.github.com/repos/bucaran/fly/pulls/comments/56745582","id":56745582,"diff_hunk":"@@ -8,4 +8,7 @@ var args = ['--harmony'].concat(fly).concat(process.argv.slice(2))\n /**\n  * Spawn a new Node process\n  */\n-require('child_process').spawn(node, args, {stdio: 'inherit'})\n+var proc = require('child_process').spawn(node, args, {stdio: 'inherit'})","path":"cli.js","position":5,"original_position":5,"commit_id":"cf8c57c4c796f2a2fb64205b58874734c977a142","original_commit_id":"cf8c57c4c796f2a2fb64205b58874734c977a142","user":{"login":"bucaran","id":8317250,"avatar_url":"https://avatars.githubusercontent.com/u/8317250?v=3","gravatar_id":"","url":"https://api.github.com/users/bucaran","html_url":"https://github.com/bucaran","followers_url":"https://api.github.com/users/bucaran/followers","following_url":"https://api.github.com/users/bucaran/following{/other_user}","gists_url":"https://api.github.com/users/bucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/bucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bucaran/subscriptions","organizations_url":"https://api.github.com/users/bucaran/orgs","repos_url":"https://api.github.com/users/bucaran/repos","events_url":"https://api.github.com/users/bucaran/events{/privacy}","received_events_url":"https://api.github.com/users/bucaran/received_events","type":"User","site_admin":false},"body":"Are we going to use `proc` somewhere else? I think you could simply write:\r\n\r\n```\r\nrequire('child_process').spawn(node, args, {stdio: 'inherit'}).on('close', ...)\r\n```","created_at":"2016-03-19T07:19:23Z","updated_at":"2016-03-19T07:19:23Z","html_url":"https://github.com/bucaran/fly/pull/153#discussion_r56745582","pull_request_url":"https://api.github.com/repos/bucaran/fly/pulls/153","_links":{"self":{"href":"https://api.github.com/repos/bucaran/fly/pulls/comments/56745582"},"html":{"href":"https://github.com/bucaran/fly/pull/153#discussion_r56745582"},"pull_request":{"href":"https://api.github.com/repos/bucaran/fly/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/bucaran/fly/pulls/153","id":63389811,"html_url":"https://github.com/bucaran/fly/pull/153","diff_url":"https://github.com/bucaran/fly/pull/153.diff","patch_url":"https://github.com/bucaran/fly/pull/153.patch","issue_url":"https://api.github.com/repos/bucaran/fly/issues/153","number":153,"state":"open","locked":false,"title":"Add logic to preserve process.exitCode and set it to \"1\" on error","user":{"login":"jrop","id":1404053,"avatar_url":"https://avatars.githubusercontent.com/u/1404053?v=3","gravatar_id":"","url":"https://api.github.com/users/jrop","html_url":"https://github.com/jrop","followers_url":"https://api.github.com/users/jrop/followers","following_url":"https://api.github.com/users/jrop/following{/other_user}","gists_url":"https://api.github.com/users/jrop/gists{/gist_id}","starred_url":"https://api.github.com/users/jrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrop/subscriptions","organizations_url":"https://api.github.com/users/jrop/orgs","repos_url":"https://api.github.com/users/jrop/repos","events_url":"https://api.github.com/users/jrop/events{/privacy}","received_events_url":"https://api.github.com/users/jrop/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-18T15:18:29Z","updated_at":"2016-03-19T07:19:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"468d7841e112fb072c904965118852bbaa428297","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bucaran/fly/pulls/153/commits","review_comments_url":"https://api.github.com/repos/bucaran/fly/pulls/153/comments","review_comment_url":"https://api.github.com/repos/bucaran/fly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bucaran/fly/issues/153/comments","statuses_url":"https://api.github.com/repos/bucaran/fly/statuses/cf8c57c4c796f2a2fb64205b58874734c977a142","head":{"label":"jrop:exit-code","ref":"exit-code","sha":"cf8c57c4c796f2a2fb64205b58874734c977a142","user":{"login":"jrop","id":1404053,"avatar_url":"https://avatars.githubusercontent.com/u/1404053?v=3","gravatar_id":"","url":"https://api.github.com/users/jrop","html_url":"https://github.com/jrop","followers_url":"https://api.github.com/users/jrop/followers","following_url":"https://api.github.com/users/jrop/following{/other_user}","gists_url":"https://api.github.com/users/jrop/gists{/gist_id}","starred_url":"https://api.github.com/users/jrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrop/subscriptions","organizations_url":"https://api.github.com/users/jrop/orgs","repos_url":"https://api.github.com/users/jrop/repos","events_url":"https://api.github.com/users/jrop/events{/privacy}","received_events_url":"https://api.github.com/users/jrop/received_events","type":"User","site_admin":false},"repo":{"id":54209174,"name":"fly","full_name":"jrop/fly","owner":{"login":"jrop","id":1404053,"avatar_url":"https://avatars.githubusercontent.com/u/1404053?v=3","gravatar_id":"","url":"https://api.github.com/users/jrop","html_url":"https://github.com/jrop","followers_url":"https://api.github.com/users/jrop/followers","following_url":"https://api.github.com/users/jrop/following{/other_user}","gists_url":"https://api.github.com/users/jrop/gists{/gist_id}","starred_url":"https://api.github.com/users/jrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrop/subscriptions","organizations_url":"https://api.github.com/users/jrop/orgs","repos_url":"https://api.github.com/users/jrop/repos","events_url":"https://api.github.com/users/jrop/events{/privacy}","received_events_url":"https://api.github.com/users/jrop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jrop/fly","description":"New Generation Build System","fork":true,"url":"https://api.github.com/repos/jrop/fly","forks_url":"https://api.github.com/repos/jrop/fly/forks","keys_url":"https://api.github.com/repos/jrop/fly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrop/fly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrop/fly/teams","hooks_url":"https://api.github.com/repos/jrop/fly/hooks","issue_events_url":"https://api.github.com/repos/jrop/fly/issues/events{/number}","events_url":"https://api.github.com/repos/jrop/fly/events","assignees_url":"https://api.github.com/repos/jrop/fly/assignees{/user}","branches_url":"https://api.github.com/repos/jrop/fly/branches{/branch}","tags_url":"https://api.github.com/repos/jrop/fly/tags","blobs_url":"https://api.github.com/repos/jrop/fly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrop/fly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrop/fly/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrop/fly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrop/fly/statuses/{sha}","languages_url":"https://api.github.com/repos/jrop/fly/languages","stargazers_url":"https://api.github.com/repos/jrop/fly/stargazers","contributors_url":"https://api.github.com/repos/jrop/fly/contributors","subscribers_url":"https://api.github.com/repos/jrop/fly/subscribers","subscription_url":"https://api.github.com/repos/jrop/fly/subscription","commits_url":"https://api.github.com/repos/jrop/fly/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrop/fly/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrop/fly/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrop/fly/issues/comments{/number}","contents_url":"https://api.github.com/repos/jrop/fly/contents/{+path}","compare_url":"https://api.github.com/repos/jrop/fly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrop/fly/merges","archive_url":"https://api.github.com/repos/jrop/fly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrop/fly/downloads","issues_url":"https://api.github.com/repos/jrop/fly/issues{/number}","pulls_url":"https://api.github.com/repos/jrop/fly/pulls{/number}","milestones_url":"https://api.github.com/repos/jrop/fly/milestones{/number}","notifications_url":"https://api.github.com/repos/jrop/fly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrop/fly/labels{/name}","releases_url":"https://api.github.com/repos/jrop/fly/releases{/id}","deployments_url":"https://api.github.com/repos/jrop/fly/deployments","created_at":"2016-03-18T14:53:08Z","updated_at":"2016-03-18T14:53:08Z","pushed_at":"2016-03-18T18:00:47Z","git_url":"git://github.com/jrop/fly.git","ssh_url":"git@github.com:jrop/fly.git","clone_url":"https://github.com/jrop/fly.git","svn_url":"https://github.com/jrop/fly","homepage":"","size":463,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bucaran:master","ref":"master","sha":"858f32e95c00a09d3ec683af567973439377b5d4","user":{"login":"bucaran","id":8317250,"avatar_url":"https://avatars.githubusercontent.com/u/8317250?v=3","gravatar_id":"","url":"https://api.github.com/users/bucaran","html_url":"https://github.com/bucaran","followers_url":"https://api.github.com/users/bucaran/followers","following_url":"https://api.github.com/users/bucaran/following{/other_user}","gists_url":"https://api.github.com/users/bucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/bucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bucaran/subscriptions","organizations_url":"https://api.github.com/users/bucaran/orgs","repos_url":"https://api.github.com/users/bucaran/repos","events_url":"https://api.github.com/users/bucaran/events{/privacy}","received_events_url":"https://api.github.com/users/bucaran/received_events","type":"User","site_admin":false},"repo":{"id":38307496,"name":"fly","full_name":"bucaran/fly","owner":{"login":"bucaran","id":8317250,"avatar_url":"https://avatars.githubusercontent.com/u/8317250?v=3","gravatar_id":"","url":"https://api.github.com/users/bucaran","html_url":"https://github.com/bucaran","followers_url":"https://api.github.com/users/bucaran/followers","following_url":"https://api.github.com/users/bucaran/following{/other_user}","gists_url":"https://api.github.com/users/bucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/bucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bucaran/subscriptions","organizations_url":"https://api.github.com/users/bucaran/orgs","repos_url":"https://api.github.com/users/bucaran/repos","events_url":"https://api.github.com/users/bucaran/events{/privacy}","received_events_url":"https://api.github.com/users/bucaran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bucaran/fly","description":"New Generation Build System","fork":false,"url":"https://api.github.com/repos/bucaran/fly","forks_url":"https://api.github.com/repos/bucaran/fly/forks","keys_url":"https://api.github.com/repos/bucaran/fly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bucaran/fly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bucaran/fly/teams","hooks_url":"https://api.github.com/repos/bucaran/fly/hooks","issue_events_url":"https://api.github.com/repos/bucaran/fly/issues/events{/number}","events_url":"https://api.github.com/repos/bucaran/fly/events","assignees_url":"https://api.github.com/repos/bucaran/fly/assignees{/user}","branches_url":"https://api.github.com/repos/bucaran/fly/branches{/branch}","tags_url":"https://api.github.com/repos/bucaran/fly/tags","blobs_url":"https://api.github.com/repos/bucaran/fly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bucaran/fly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bucaran/fly/git/refs{/sha}","trees_url":"https://api.github.com/repos/bucaran/fly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bucaran/fly/statuses/{sha}","languages_url":"https://api.github.com/repos/bucaran/fly/languages","stargazers_url":"https://api.github.com/repos/bucaran/fly/stargazers","contributors_url":"https://api.github.com/repos/bucaran/fly/contributors","subscribers_url":"https://api.github.com/repos/bucaran/fly/subscribers","subscription_url":"https://api.github.com/repos/bucaran/fly/subscription","commits_url":"https://api.github.com/repos/bucaran/fly/commits{/sha}","git_commits_url":"https://api.github.com/repos/bucaran/fly/git/commits{/sha}","comments_url":"https://api.github.com/repos/bucaran/fly/comments{/number}","issue_comment_url":"https://api.github.com/repos/bucaran/fly/issues/comments{/number}","contents_url":"https://api.github.com/repos/bucaran/fly/contents/{+path}","compare_url":"https://api.github.com/repos/bucaran/fly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bucaran/fly/merges","archive_url":"https://api.github.com/repos/bucaran/fly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bucaran/fly/downloads","issues_url":"https://api.github.com/repos/bucaran/fly/issues{/number}","pulls_url":"https://api.github.com/repos/bucaran/fly/pulls{/number}","milestones_url":"https://api.github.com/repos/bucaran/fly/milestones{/number}","notifications_url":"https://api.github.com/repos/bucaran/fly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bucaran/fly/labels{/name}","releases_url":"https://api.github.com/repos/bucaran/fly/releases{/id}","deployments_url":"https://api.github.com/repos/bucaran/fly/deployments","created_at":"2015-06-30T12:19:00Z","updated_at":"2016-03-19T04:05:24Z","pushed_at":"2016-03-18T18:10:48Z","git_url":"git://github.com/bucaran/fly.git","ssh_url":"git@github.com:bucaran/fly.git","clone_url":"https://github.com/bucaran/fly.git","svn_url":"https://github.com/bucaran/fly","homepage":"","size":469,"stargazers_count":1512,"watchers_count":1512,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":15,"forks":49,"open_issues":15,"watchers":1512,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bucaran/fly/pulls/153"},"html":{"href":"https://github.com/bucaran/fly/pull/153"},"issue":{"href":"https://api.github.com/repos/bucaran/fly/issues/153"},"comments":{"href":"https://api.github.com/repos/bucaran/fly/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/bucaran/fly/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/bucaran/fly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bucaran/fly/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/bucaran/fly/statuses/cf8c57c4c796f2a2fb64205b58874734c977a142"}}}}