{"action":"closed","issue":{"url":"https://api.github.com/repos/Unitech/pm2/issues/1999","repository_url":"https://api.github.com/repos/Unitech/pm2","labels_url":"https://api.github.com/repos/Unitech/pm2/issues/1999/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/pm2/issues/1999/comments","events_url":"https://api.github.com/repos/Unitech/pm2/issues/1999/events","html_url":"https://github.com/Unitech/pm2/issues/1999","id":138543695,"number":1999,"title":"Using babel-node as exec_interpreter keeps the process hanging after pm2 kill","user":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-04T18:08:31Z","updated_at":"2016-03-08T11:18:53Z","closed_at":"2016-03-08T11:18:53Z","body":"Context:\r\n\r\nPM2 v1.0.1\r\nnode v5.7.0\r\n\r\nOutput of `pm2 ls`\r\n\r\n<img width=\"610\" alt=\"screen shot 2016-03-04 at 17 50 12\" src=\"https://cloud.githubusercontent.com/assets/973543/13535353/9a5a5862-e231-11e5-8da5-e11ddf7af2ad.png\">\r\n\r\nOutput of `ps aux | grep node`.\r\n\r\n```\r\ngajus           57329   0.0  0.1  3093776  21368   ??  Ss    5:46pm   0:00.09 node /Users/gajus/.nvm/versions/node/v5.7.0/bin/babel-node /Users/gajus/Documents/dev/applaudience/applaudience-static-upload-app/src/server/src/bin/index.js --port 8000\r\ngajus           57323   0.0  0.1  3093776  21268   ??  Ss    5:46pm   0:00.09 node /Users/gajus/.nvm/versions/node/v5.7.0/bin/babel-node /Users/gajus/Documents/dev/applaudience/applaudience-static-upload-app/src/client/src/bin/index.js --port 8001\r\n```\r\n\r\nEverything looks good.\r\n\r\nAfter executing `pm2 kill` `ps aux | grep node` stays the same:\r\n\r\n```\r\ngajus           57367   0.0  0.6  3132836  98704   ??  S     5:46pm   0:01.41 /Users/gajus/.nvm/versions/node/v5.7.0/bin/node /Users/gajus/.nvm/versions/node/v5.7.0/lib/node_modules/babel-cli/lib/_babel-node /Users/gajus/Documents/dev/applaudience/applaudience-static-upload-app/src/server/src/bin/index.js --port 8000\r\ngajus           57358   0.0  1.8  3373972 305784   ??  S     5:46pm   0:07.12 /Users/gajus/.nvm/versions/node/v5.7.0/bin/node /Users/gajus/.nvm/versions/node/v5.7.0/lib/node_modules/babel-cli/lib/_babel-node /Users/gajus/Documents/dev/applaudience/applaudience-static-upload-app/src/client/src/bin/index.js --port 8001\r\n```"}}