{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2908","labels_url":"https://api.github.com/repos/nodejs/node/issues/2908/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2908/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2908/events","html_url":"https://github.com/nodejs/node/pull/2908","id":106800406,"number":2908,"title":"Spawn detached window hide option","user":{"login":"sam-github","id":17607,"avatar_url":"https://avatars.githubusercontent.com/u/17607?v=3","gravatar_id":"","url":"https://api.github.com/users/sam-github","html_url":"https://github.com/sam-github","followers_url":"https://api.github.com/users/sam-github/followers","following_url":"https://api.github.com/users/sam-github/following{/other_user}","gists_url":"https://api.github.com/users/sam-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-github/subscriptions","organizations_url":"https://api.github.com/users/sam-github/orgs","repos_url":"https://api.github.com/users/sam-github/repos","events_url":"https://api.github.com/users/sam-github/events{/privacy}","received_events_url":"https://api.github.com/users/sam-github/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/child_process","name":"child_process","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/node/labels/semver-minor","name":"semver-minor","color":"fef2c0"},{"url":"https://api.github.com/repos/nodejs/node/labels/windows","name":"windows","color":"9944dd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-16T15:39:07Z","updated_at":"2015-09-17T15:23:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/2908","html_url":"https://github.com/nodejs/node/pull/2908","diff_url":"https://github.com/nodejs/node/pull/2908.diff","patch_url":"https://github.com/nodejs/node/pull/2908.patch"},"body":"Detached children are run in a new console window by default. For\r\nchildren that are intended to run in the background with no console I/O,\r\nthis window is an annoying pop-up, so uv allows it to be hidden.\r\n\r\nI can't think of a way to test this other than manually, which I still have to do, but @piscisaureus, this is what you suggested (I think).\r\n\r\n/cc @nodejs/platform-windows \r\n\r\nIncludes a bit of the docs from https://github.com/nodejs/node/pull/2903."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/141121065","html_url":"https://github.com/nodejs/node/pull/2908#issuecomment-141121065","issue_url":"https://api.github.com/repos/nodejs/node/issues/2908","id":141121065,"user":{"login":"sam-github","id":17607,"avatar_url":"https://avatars.githubusercontent.com/u/17607?v=3","gravatar_id":"","url":"https://api.github.com/users/sam-github","html_url":"https://github.com/sam-github","followers_url":"https://api.github.com/users/sam-github/followers","following_url":"https://api.github.com/users/sam-github/following{/other_user}","gists_url":"https://api.github.com/users/sam-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-github/subscriptions","organizations_url":"https://api.github.com/users/sam-github/orgs","repos_url":"https://api.github.com/users/sam-github/repos","events_url":"https://api.github.com/users/sam-github/events{/privacy}","received_events_url":"https://api.github.com/users/sam-github/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T15:23:54Z","updated_at":"2015-09-17T15:23:54Z","body":"2 seems somewhat easier to use, and more expressive of the intent, but slightly disconnected from uv. \r\n\r\nAlso, neither detached or background really do anything like what the option name would suggest on non-Windows. I kindof like that about hide, its clearly a windows specific variant of attached, and easy to describe as a no-op on Linux.\r\n\r\nI can write code that sets detached  and hide, and it will work on v0.10, there will just be an ugly window, and will work better once this PR merges. For background, I would have to set detached and background, so its all about the same to me (as long as the combination is supported - if I have to start do node version checking to see what options to pass I'll be annoyed!).\r\n\r\nI think I just talked myself into prefering @orangemocha's option 1. :-)"}}