{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/11756","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/11756/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/11756/comments","events_url":"https://api.github.com/repos/atom/atom/issues/11756/events","html_url":"https://github.com/atom/atom/issues/11756","id":154919685,"number":11756,"title":"-W is an invalid option for pwd","user":{"login":"singingwolfboy","id":132355,"avatar_url":"https://avatars.githubusercontent.com/u/132355?v=3","gravatar_id":"","url":"https://api.github.com/users/singingwolfboy","html_url":"https://github.com/singingwolfboy","followers_url":"https://api.github.com/users/singingwolfboy/followers","following_url":"https://api.github.com/users/singingwolfboy/following{/other_user}","gists_url":"https://api.github.com/users/singingwolfboy/gists{/gist_id}","starred_url":"https://api.github.com/users/singingwolfboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singingwolfboy/subscriptions","organizations_url":"https://api.github.com/users/singingwolfboy/orgs","repos_url":"https://api.github.com/users/singingwolfboy/repos","events_url":"https://api.github.com/users/singingwolfboy/events{/privacy}","received_events_url":"https://api.github.com/users/singingwolfboy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/windows","name":"windows","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-05-15T17:27:33Z","updated_at":"2016-06-18T10:07:44Z","closed_at":"2016-05-18T18:58:32Z","body":"I'm running Atom 1.8.0 beta 3 on Windows 7. It works, but when I try to launch it using the `atom` shell command, I get this failure:\r\n\r\n```\r\n{ ~ }  » atom                                                                                   ~\r\n/cygdrive/c/Users/Linda/AppData/Local/atom/bin/../app-1.8.0-beta3/resources/cli/atom.sh: line 3: pwd: -W: invalid option\r\npwd: usage: pwd [-LP]\r\nMicrosoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation.  All rights reserved.\r\n```\r\n\r\nI'm using [babun](http://babun.github.io/) as my shell, which may be part of the problem. I believe the failing line of code is [resources/win/atom.sh on line 3](https://github.com/atom/atom/blob/master/resources/win/atom.sh#L3). It doesn't look like `-W` is a standard flag for the `pwd` command.\r\n\r\nCan anyone else reproduce this issue?"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/226933740","html_url":"https://github.com/atom/atom/issues/11756#issuecomment-226933740","issue_url":"https://api.github.com/repos/atom/atom/issues/11756","id":226933740,"user":{"login":"youurayy","id":588573,"avatar_url":"https://avatars.githubusercontent.com/u/588573?v=3","gravatar_id":"","url":"https://api.github.com/users/youurayy","html_url":"https://github.com/youurayy","followers_url":"https://api.github.com/users/youurayy/followers","following_url":"https://api.github.com/users/youurayy/following{/other_user}","gists_url":"https://api.github.com/users/youurayy/gists{/gist_id}","starred_url":"https://api.github.com/users/youurayy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youurayy/subscriptions","organizations_url":"https://api.github.com/users/youurayy/orgs","repos_url":"https://api.github.com/users/youurayy/repos","events_url":"https://api.github.com/users/youurayy/events{/privacy}","received_events_url":"https://api.github.com/users/youurayy/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T10:07:44Z","updated_at":"2016-06-18T10:07:44Z","body":"command still not working in 1.8.0, possibly a different isssue:\r\n![image](https://cloud.githubusercontent.com/assets/588573/16170259/9b92f3b6-3555-11e6-85b8-593e2f7a5bd5.png)\r\n"}}
{"actor":{"display_login":"youurayy"}}