{"action":"created","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/2379","repository_url":"https://api.github.com/repos/drush-ops/drush","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/2379/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/2379/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/2379/events","html_url":"https://github.com/drush-ops/drush/issues/2379","id":181663741,"number":2379,"title":"Commands fail on Windows remote (cygwin) from Linux host (Follow up)","user":{"login":"dmsmidt","id":3950877,"avatar_url":"https://avatars.githubusercontent.com/u/3950877?v=3","gravatar_id":"","url":"https://api.github.com/users/dmsmidt","html_url":"https://github.com/dmsmidt","followers_url":"https://api.github.com/users/dmsmidt/followers","following_url":"https://api.github.com/users/dmsmidt/following{/other_user}","gists_url":"https://api.github.com/users/dmsmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/dmsmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmsmidt/subscriptions","organizations_url":"https://api.github.com/users/dmsmidt/orgs","repos_url":"https://api.github.com/users/dmsmidt/repos","events_url":"https://api.github.com/users/dmsmidt/events{/privacy}","received_events_url":"https://api.github.com/users/dmsmidt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/drush-ops/drush/labels/area-windows","name":"area-windows","color":"d4c5f9"},{"url":"https://api.github.com/repos/drush-ops/drush/labels/type-bug","name":"type-bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"weitzman","id":7740,"avatar_url":"https://avatars.githubusercontent.com/u/7740?v=3","gravatar_id":"","url":"https://api.github.com/users/weitzman","html_url":"https://github.com/weitzman","followers_url":"https://api.github.com/users/weitzman/followers","following_url":"https://api.github.com/users/weitzman/following{/other_user}","gists_url":"https://api.github.com/users/weitzman/gists{/gist_id}","starred_url":"https://api.github.com/users/weitzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitzman/subscriptions","organizations_url":"https://api.github.com/users/weitzman/orgs","repos_url":"https://api.github.com/users/weitzman/repos","events_url":"https://api.github.com/users/weitzman/events{/privacy}","received_events_url":"https://api.github.com/users/weitzman/received_events","type":"User","site_admin":false},"assignees":[{"login":"weitzman","id":7740,"avatar_url":"https://avatars.githubusercontent.com/u/7740?v=3","gravatar_id":"","url":"https://api.github.com/users/weitzman","html_url":"https://github.com/weitzman","followers_url":"https://api.github.com/users/weitzman/followers","following_url":"https://api.github.com/users/weitzman/following{/other_user}","gists_url":"https://api.github.com/users/weitzman/gists{/gist_id}","starred_url":"https://api.github.com/users/weitzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitzman/subscriptions","organizations_url":"https://api.github.com/users/weitzman/orgs","repos_url":"https://api.github.com/users/weitzman/repos","events_url":"https://api.github.com/users/weitzman/events{/privacy}","received_events_url":"https://api.github.com/users/weitzman/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-10-07T13:05:04Z","updated_at":"2016-10-07T22:47:54Z","closed_at":"2016-10-07T22:47:28Z","body":"This is a follow up of #1788, which was repurposed to remove WinRS support.\r\n\r\nSo lets pick up with Drush 8.1.5 without WinRS:\r\nThe host is running Linux and the Target is running Windows with Cygwin. \r\n\r\nIn my aliases file I have the following (simplified):\r\n\r\n```php\r\n$aliases['windows'] = array(  \r\n  'root' => 'C:\\Websites\\SomeSite',  \r\n  'uri' => 'http://www.somesite.com',  \r\n  'os' => 'Windows',  \r\n  'remote-host' => '124.123.123.123',  \r\n  'remote-user' => 'Windows\\\\User',  \r\n);\r\n```\r\n\r\nPreviously (Drush 8.1.2) I had the ```drush @windows ssh``` command working.\r\nNow even this doesn't work anymore (when `root` is specified), because the `root` path is wrongly formatted in the ssh command part: `cd \\''C:Websites\\Somesite'\\''`.\r\n\r\nFull error:\r\n```bash\r\nThe filename, directory name, or volume label syntax is incorrect.\r\nConnection to 124.123.123.123 closed.\r\nAn error 1 occured while running the command `ssh 'Windows\\User'@124.123.123.123 'cd \\''C:Websites\\Somesite'\\'' && bash -l'`\r\n```\r\n\r\nPreviously (what worked) the path was formatted like this `cd \"\"C:\\\\\\\\Websites\\\\\\\\Somesite\"\"`.\r\n\r\nOther commands which now use SSH instead of WinRS are able to connect, but also have problems with the `root`.\r\n```bash\r\nThe directory `C:\\Websites\\SomeSite` does not contain a valid Drupal installation\r\n```\r\nIn debug mode I see that the path after `--root=` is similarly wrongly formatted as in the `drush ssh` command. \r\n\r\nAm I correct to assume that only the `drush @windows ssh` command switches to bash at the remote side, but all other command just stay in the windows shell and call the Windows version of Drush?"},"comment":{"url":"https://api.github.com/repos/drush-ops/drush/issues/comments/252378884","html_url":"https://github.com/drush-ops/drush/issues/2379#issuecomment-252378884","issue_url":"https://api.github.com/repos/drush-ops/drush/issues/2379","id":252378884,"user":{"login":"weitzman","id":7740,"avatar_url":"https://avatars.githubusercontent.com/u/7740?v=3","gravatar_id":"","url":"https://api.github.com/users/weitzman","html_url":"https://github.com/weitzman","followers_url":"https://api.github.com/users/weitzman/followers","following_url":"https://api.github.com/users/weitzman/following{/other_user}","gists_url":"https://api.github.com/users/weitzman/gists{/gist_id}","starred_url":"https://api.github.com/users/weitzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitzman/subscriptions","organizations_url":"https://api.github.com/users/weitzman/orgs","repos_url":"https://api.github.com/users/weitzman/repos","events_url":"https://api.github.com/users/weitzman/events{/privacy}","received_events_url":"https://api.github.com/users/weitzman/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T22:47:54Z","updated_at":"2016-10-07T22:47:54Z","body":"I merged that branch into master"}}
{"actor":{"display_login":"weitzman"}}