{"action":"opened","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/2205","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2205/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2205/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/2205/events","html_url":"https://github.com/yarnpkg/yarn/issues/2205","id":194622071,"number":2205,"title":"Calling yarn in a script stops execution","user":{"login":"bartosz-oczujda","id":310136,"avatar_url":"https://avatars.githubusercontent.com/u/310136?v=3","gravatar_id":"","url":"https://api.github.com/users/bartosz-oczujda","html_url":"https://github.com/bartosz-oczujda","followers_url":"https://api.github.com/users/bartosz-oczujda/followers","following_url":"https://api.github.com/users/bartosz-oczujda/following{/other_user}","gists_url":"https://api.github.com/users/bartosz-oczujda/gists{/gist_id}","starred_url":"https://api.github.com/users/bartosz-oczujda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartosz-oczujda/subscriptions","organizations_url":"https://api.github.com/users/bartosz-oczujda/orgs","repos_url":"https://api.github.com/users/bartosz-oczujda/repos","events_url":"https://api.github.com/users/bartosz-oczujda/events{/privacy}","received_events_url":"https://api.github.com/users/bartosz-oczujda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T15:22:52Z","updated_at":"2016-12-09T15:22:52Z","closed_at":null,"body":"<!-- *Before creating an issue please make sure you are using the latest version of yarn.* -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\n<!-- Is the feature a substantial feature request? Please use https://github.com/yarnpkg/rfcs -->\r\nThis is a bug\r\n\r\n**What is the current behavior?**\r\n\r\nI have a following script in my package.json\r\n\r\n```\r\n\"scripts\": {\r\n    \"link\": \"yarn link ggs-toolbox\"\r\n  }\r\n```\r\n\r\nCalling `yarn run link` does basically nothing, the process just hangs.\r\nCalling `npm run link` executes the script properly\r\nCalling `yarn link ggs-toolbox` properly links the module in my project\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n<!-- If you can, provide a link to a public repository which contains the files necessary to reproduce this. -->\r\nCreate a script in `package.json` that executes `yarn` (look at my example) call `yarn run your-script` to execute that script from command line.\r\n\r\n**What is the expected behavior?**\r\nA script which calls `yarn` (look at the example) is properly executed.\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\nNode - v.6.5.0\r\nYarn - 0.18.0\r\nOS - Win 7"}}
{"actor":{"display_login":"bartosz-oczujda"}}