{"action":"created","issue":{"url":"https://api.github.com/repos/coala-analyzer/coala/issues/1236","labels_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1236/labels{/name}","comments_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1236/comments","events_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1236/events","html_url":"https://github.com/coala-analyzer/coala/issues/1236","id":128249686,"number":1236,"title":"Shell: Detect current shell instead of platform","user":{"login":"Makman2","id":6023916,"avatar_url":"https://avatars.githubusercontent.com/u/6023916?v=3","gravatar_id":"","url":"https://api.github.com/users/Makman2","html_url":"https://github.com/Makman2","followers_url":"https://api.github.com/users/Makman2/followers","following_url":"https://api.github.com/users/Makman2/following{/other_user}","gists_url":"https://api.github.com/users/Makman2/gists{/gist_id}","starred_url":"https://api.github.com/users/Makman2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Makman2/subscriptions","organizations_url":"https://api.github.com/users/Makman2/orgs","repos_url":"https://api.github.com/users/Makman2/repos","events_url":"https://api.github.com/users/Makman2/events{/privacy}","received_events_url":"https://api.github.com/users/Makman2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coala-analyzer/coala/labels/difficulty/medium","name":"difficulty/medium","color":"0052cc"},{"url":"https://api.github.com/repos/coala-analyzer/coala/labels/importance/low","name":"importance/low","color":"70E870"},{"url":"https://api.github.com/repos/coala-analyzer/coala/labels/type/feature","name":"type/feature","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-22T21:27:26Z","updated_at":"2016-01-22T21:37:39Z","closed_at":null,"body":"The function `escape_path_argument` inside `coalib/misc/Shell.py` (and also the coming `prepare_string_argument` function) use the operating system to chose which shell is used (chosing the default shell). Would be way better to depend on the actual shell, more bullet-proof across platforms and then we can support multiple shells on the same OS.\r\n\r\nSo in fact we change the parameter default of `os` to something that gets the shell name and adjust the conditions inside the function accordingly.\r\n\r\nProblem: After googling a bit I couldn't find anything on how to retrieve the current shell..."},"comment":{"url":"https://api.github.com/repos/coala-analyzer/coala/issues/comments/174057939","html_url":"https://github.com/coala-analyzer/coala/issues/1236#issuecomment-174057939","issue_url":"https://api.github.com/repos/coala-analyzer/coala/issues/1236","id":174057939,"user":{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T21:37:39Z","updated_at":"2016-01-22T21:37:39Z","body":"@Makman2 sorry but I'm strongly pledging for a wontfix if there isn't a library out there that does that. You can write one if you want and then reopen :P don't think this belopngs in coala."}}