{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/556","labels_url":"https://api.github.com/repos/iojs/io.js/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/556/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/556/events","html_url":"https://github.com/iojs/io.js/issues/556","id":55146973,"number":556,"title":"Silent Mode execution","user":{"login":"aleeksunder","id":7656868,"avatar_url":"https://avatars.githubusercontent.com/u/7656868?v=3","gravatar_id":"","url":"https://api.github.com/users/aleeksunder","html_url":"https://github.com/aleeksunder","followers_url":"https://api.github.com/users/aleeksunder/followers","following_url":"https://api.github.com/users/aleeksunder/following{/other_user}","gists_url":"https://api.github.com/users/aleeksunder/gists{/gist_id}","starred_url":"https://api.github.com/users/aleeksunder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleeksunder/subscriptions","organizations_url":"https://api.github.com/users/aleeksunder/orgs","repos_url":"https://api.github.com/users/aleeksunder/repos","events_url":"https://api.github.com/users/aleeksunder/events{/privacy}","received_events_url":"https://api.github.com/users/aleeksunder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iojs/io.js/labels/windows","name":"windows","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-22T12:22:06Z","updated_at":"2015-01-23T20:04:36Z","closed_at":null,"body":"Not an issue, but a feature request.\r\n\r\nSince it very usefull to use iojs as script interpreter, the one feature is missing, and I can suggest that many can vote for it - execute script without console window showing.\r\n\r\nI'm not really a programmer, and cannot even say is it possible or not to make console application start without creating a window. But if it is possible I think it may be very usefull to have some command line switch, like ```--background``` or ```--hidden``` to get this stuff.\r\n\r\nAnother approach to this can be via another executable, for example windows has wscript.exe and cscript.exe to execute scripts in different modes.\r\n\r\nMaybe this was discussed and rejected a lot of time in Node project, but since IOJS is a different project I just want to try again =) I know there is a lot of stuff to get this done like binaries that executes console apps in hidden mode, but this is such a little and such a usefull feature so having it bundled within iojs executable will be really awesome, since we don't need another tool for that.\r\n\r\nFor example:\r\nI need my JS script to execute some program, wait for it's finish, and do some stuff after that, maybe depend on exit code or something like that, so I can spawn a new process from script and give it a callback. They key here is that I don't want to see any windows, neither spawned process, nor iojs. And I will not see spawned process, but will see iojs window for all the time the spawned process will work. So this is a bit frustrating.\r\n\r\nSo my question is:\r\nIs this feature can be accepted for consideration by new TC or not?\r\n\r\nAnd if not, can you please provide some info how I can recompile iojs executable to get it run completely silent?"},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/71256490","html_url":"https://github.com/iojs/io.js/issues/556#issuecomment-71256490","issue_url":"https://api.github.com/repos/iojs/io.js/issues/556","id":71256490,"user":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T20:04:36Z","updated_at":"2015-01-23T20:04:36Z","body":"> And if not, can you please provide some info how I can recompile iojs executable to get it run completely silent?\r\n\r\nYou just have to modify the PE header; there are plenty of scripts on the web that can do this, and I already do this for Node.js. https://metacpan.org/source/SREZIC/Tk-804.032/exetype is the source of one such script."}}