{"action":"created","issue":{"url":"https://api.github.com/repos/jb-alvarado/media-autobuild_suite/issues/970","repository_url":"https://api.github.com/repos/jb-alvarado/media-autobuild_suite","labels_url":"https://api.github.com/repos/jb-alvarado/media-autobuild_suite/issues/970/labels{/name}","comments_url":"https://api.github.com/repos/jb-alvarado/media-autobuild_suite/issues/970/comments","events_url":"https://api.github.com/repos/jb-alvarado/media-autobuild_suite/issues/970/events","html_url":"https://github.com/jb-alvarado/media-autobuild_suite/issues/970","id":377480285,"node_id":"MDU6SXNzdWUzNzc0ODAyODU=","number":970,"title":"Feature request: NoGUI option","user":{"login":"lars18th","id":9989964,"node_id":"MDQ6VXNlcjk5ODk5NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9989964?v=4","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-11-05T16:32:59Z","updated_at":"2018-11-22T12:57:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nI don't like to put noise. Sorry for my previous issue #968.\r\n\r\nIn fact, what I like to do is to execute the `media-autobuild_suite.bat` inside a OpenSSH session (aka native SSH server in Windows 10).\r\n\r\nAfter activating it, I can connect to my Windows \"builder\" machine. And in the CMD shell, I can execute the command `media-autobuild_suite.bat`. As you can imagine all works **until** the MinTTY is called.\r\n\r\nSo, I do this \"proof of concept\": I preplace inside the `media-autobuild_suite.bat` all lines like ` %mintty% --log 2>&1 %build%\\firstrun.log /usr/bin/bash --login ...` with `%instdir%\\%msys2%\\usr\\bin\\bash.exe --login ...`.\r\n\r\nWith this simple change, the mintty terminal is not used at all, and the shell scripts (.sh) are called *inside* the same console (in this case the OpenSSH console), using the MinTTY's bash.exe shell in text console mode.\r\n\r\nHowever, at some point, _some_ script fails (in my case, the pacman update check when it finish). But, the idea is to add support to execute the full script without \"opening new GUI windows\" (aka MinTTY sessions). For example calling the bat with a parameter like: `media-autobuild_suite.bat /nogui`.\r\n\r\nWhat you think? "},"comment":{"url":"https://api.github.com/repos/jb-alvarado/media-autobuild_suite/issues/comments/441023030","html_url":"https://github.com/jb-alvarado/media-autobuild_suite/issues/970#issuecomment-441023030","issue_url":"https://api.github.com/repos/jb-alvarado/media-autobuild_suite/issues/970","id":441023030,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTAyMzAzMA==","user":{"login":"wiiaboo","id":111605,"node_id":"MDQ6VXNlcjExMTYwNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/111605?v=4","gravatar_id":"","url":"https://api.github.com/users/wiiaboo","html_url":"https://github.com/wiiaboo","followers_url":"https://api.github.com/users/wiiaboo/followers","following_url":"https://api.github.com/users/wiiaboo/following{/other_user}","gists_url":"https://api.github.com/users/wiiaboo/gists{/gist_id}","starred_url":"https://api.github.com/users/wiiaboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiiaboo/subscriptions","organizations_url":"https://api.github.com/users/wiiaboo/orgs","repos_url":"https://api.github.com/users/wiiaboo/repos","events_url":"https://api.github.com/users/wiiaboo/events{/privacy}","received_events_url":"https://api.github.com/users/wiiaboo/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T12:57:52Z","updated_at":"2018-11-22T12:57:52Z","author_association":"COLLABORATOR","body":"If it works for both cases, sure. Also, if by using tee we could remove control chars it would be great to have clean logs without color crap that's only meant for tty."}}
{"actor":{"display_login":"wiiaboo"}}