{"action":"created","issue":{"url":"https://api.github.com/repos/lavary/crunz/issues/39","repository_url":"https://api.github.com/repos/lavary/crunz","labels_url":"https://api.github.com/repos/lavary/crunz/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/lavary/crunz/issues/39/comments","events_url":"https://api.github.com/repos/lavary/crunz/issues/39/events","html_url":"https://github.com/lavary/crunz/issues/39","id":190235777,"number":39,"title":"Problem with ->in(dirname) on Windows","user":{"login":"RebafC","id":3333485,"avatar_url":"https://avatars1.githubusercontent.com/u/3333485?v=4","gravatar_id":"","url":"https://api.github.com/users/RebafC","html_url":"https://github.com/RebafC","followers_url":"https://api.github.com/users/RebafC/followers","following_url":"https://api.github.com/users/RebafC/following{/other_user}","gists_url":"https://api.github.com/users/RebafC/gists{/gist_id}","starred_url":"https://api.github.com/users/RebafC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebafC/subscriptions","organizations_url":"https://api.github.com/users/RebafC/orgs","repos_url":"https://api.github.com/users/RebafC/repos","events_url":"https://api.github.com/users/RebafC/events{/privacy}","received_events_url":"https://api.github.com/users/RebafC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-18T04:51:03Z","updated_at":"2018-05-01T23:11:01Z","closed_at":"2018-04-17T17:38:40Z","author_association":"NONE","body":"In the buildCommand function of Events.php, the change directory instruction is concatenated to rest of the command using a semi colon. This does not work under Windows. Commands can be joined with an ampersand. \r\n\r\nA possible fix is to replace\r\n\r\n_$command .=  'cd ' . $this->cwd . ' & ';_\r\n\r\nwith\r\n_if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {\r\n    ## Windows\r\n    $command .=  'cd ' . $this->cwd . ' & ';\r\n} else {\r\n    ## Not Windows\r\n    $command .=  'cd ' . $this->cwd . '; ';\r\n}_"},"comment":{"url":"https://api.github.com/repos/lavary/crunz/issues/comments/385817177","html_url":"https://github.com/lavary/crunz/issues/39#issuecomment-385817177","issue_url":"https://api.github.com/repos/lavary/crunz/issues/39","id":385817177,"user":{"login":"RebafC","id":3333485,"avatar_url":"https://avatars1.githubusercontent.com/u/3333485?v=4","gravatar_id":"","url":"https://api.github.com/users/RebafC","html_url":"https://github.com/RebafC","followers_url":"https://api.github.com/users/RebafC/followers","following_url":"https://api.github.com/users/RebafC/following{/other_user}","gists_url":"https://api.github.com/users/RebafC/gists{/gist_id}","starred_url":"https://api.github.com/users/RebafC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebafC/subscriptions","organizations_url":"https://api.github.com/users/RebafC/orgs","repos_url":"https://api.github.com/users/RebafC/repos","events_url":"https://api.github.com/users/RebafC/events{/privacy}","received_events_url":"https://api.github.com/users/RebafC/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T23:11:01Z","updated_at":"2018-05-01T23:11:01Z","author_association":"NONE","body":"Thank you. These changes are working well for me."}}
{"actor":{"display_login":"RebafC"}}