{"action":"opened","issue":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/15659","repository_url":"https://api.github.com/repos/chrmarti/testissues","labels_url":"https://api.github.com/repos/chrmarti/testissues/issues/15659/labels{/name}","comments_url":"https://api.github.com/repos/chrmarti/testissues/issues/15659/comments","events_url":"https://api.github.com/repos/chrmarti/testissues/issues/15659/events","html_url":"https://github.com/chrmarti/testissues/issues/15659","id":304247597,"number":15659,"title":"Code . hangs in batch scripts","user":{"login":"vscodebot[bot]","id":28792856,"avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T05:44:58Z","updated_at":"2018-03-12T05:44:58Z","closed_at":null,"author_association":"NONE","body":"!!! Issue Type\r\nBug\r\n\r\n!!! Description\r\n\r\nI use a lot of on path batch scripts to open different groups of folders in vscode (as well as other things)\r\n\r\nHowever it is annoying because about half the time the cmd window opened by the script hangs following the code \"my folder path\" command. It runs correctly and opens the vscode window, however the cmd prompt window remains, and closes when I exit out of the vscode window opened by the script.\r\n\r\nBelow is an example of a simple .bat script used\r\n``` bash\r\ncode \"C:\\Users\\User\\my\\folder\\example\"\r\n```\r\n\r\nPlease let me know if I am doing something wrong, or if there is some way to force the command to return right away.\r\n\r\nThanks,\r\nHarry\r\n\r\nPS-I have looked to see if there was a similar issue already, apologies if this is a duplicate.\r\n!!! VS Code Info\r\n\r\nVS Code version: Code 1.20.1 (f88bbf9137d24d36d968ea6b2911786bfe103002, 2018-02-13T15:34:36.336Z)\r\nOS version: Windows_NT x64 10.0.10240\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i7-2600 CPU ! 3.40GHz (8 x 3392)|\r\n|Memory (System)|7.98GB (1.79GB free)|\r\n|Process Argv|C:\\Program Files\\Microsoft VS Code\\Code.exe .|\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\r\n</details><details><summary>Extensions (8)</summary>\r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\nvscode-motivational-gif|abe|1.0.1\r\nswagger-viewer|Arj|1.5.0\r\njet|dio|0.0.1\r\npython|ms-|2018.2.1\r\njava|red|0.20.0\r\nvscode-java-debug|vsc|0.6.0\r\nvscode-java-pack|vsc|0.3.0\r\nvscode-maven|vsc|0.5.2\r\n\r\n\r\n</details>\r\nReproduces without extensions"}}
{"actor":{"display_login":"vscodebot"}}