{"action":"created","issue":{"url":"https://api.github.com/repos/feeley/gambit/issues/122","labels_url":"https://api.github.com/repos/feeley/gambit/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/feeley/gambit/issues/122/comments","events_url":"https://api.github.com/repos/feeley/gambit/issues/122/events","html_url":"https://github.com/feeley/gambit/issues/122","id":73959730,"number":122,"title":"Shell-command issue with escaping on Windows","user":{"login":"alvatar","id":191694,"avatar_url":"https://avatars.githubusercontent.com/u/191694?v=3","gravatar_id":"","url":"https://api.github.com/users/alvatar","html_url":"https://github.com/alvatar","followers_url":"https://api.github.com/users/alvatar/followers","following_url":"https://api.github.com/users/alvatar/following{/other_user}","gists_url":"https://api.github.com/users/alvatar/gists{/gist_id}","starred_url":"https://api.github.com/users/alvatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvatar/subscriptions","organizations_url":"https://api.github.com/users/alvatar/orgs","repos_url":"https://api.github.com/users/alvatar/repos","events_url":"https://api.github.com/users/alvatar/events{/privacy}","received_events_url":"https://api.github.com/users/alvatar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-07T12:02:06Z","updated_at":"2015-05-07T15:54:45Z","closed_at":null,"body":"The following code:\r\n```\r\n(shell-command (path-expand \"~~/bin/gsc\"))\r\n```\r\nproduces:\r\n```\r\nsh: C:/MinGW/msys/1.0/local/Gambit-Cbin/gsc: No such file or directory\r\n```\r\non Windows, while it runs successfully on Linux/OSX.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/feeley/gambit/issues/comments/99920741","html_url":"https://github.com/feeley/gambit/issues/122#issuecomment-99920741","issue_url":"https://api.github.com/repos/feeley/gambit/issues/122","id":99920741,"user":{"login":"gcartier","id":67419,"avatar_url":"https://avatars.githubusercontent.com/u/67419?v=3","gravatar_id":"","url":"https://api.github.com/users/gcartier","html_url":"https://github.com/gcartier","followers_url":"https://api.github.com/users/gcartier/followers","following_url":"https://api.github.com/users/gcartier/following{/other_user}","gists_url":"https://api.github.com/users/gcartier/gists{/gist_id}","starred_url":"https://api.github.com/users/gcartier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcartier/subscriptions","organizations_url":"https://api.github.com/users/gcartier/orgs","repos_url":"https://api.github.com/users/gcartier/repos","events_url":"https://api.github.com/users/gcartier/events{/privacy}","received_events_url":"https://api.github.com/users/gcartier/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T15:54:45Z","updated_at":"2015-05-07T15:54:45Z","body":"The solution I've been using for a long time is to figure out (black magic)\nwhere to use c:/ or /c/ syntaxes.\n\nWith configure it's the later. For example I do:\n./configure --prefix=/c/App/gambit and everything works fine.\n\nOn Thu, May 7, 2015 at 11:39 AM, Álvaro Castro-Castilla <\nnotifications@github.com> wrote:\n\n> My workaround is summarized in this:\n>\n> -(define gambit-compiler (make-parameter\n> -                        ;; This append fixes an issue with MinGW paths\n> -                        (string-append (path-expand \"~~\") \"/bin/gsc\")))\n> +(define gambit-compiler (make-parameter (path-expand \"~~/bin/gsc\")))\n>\n>  (define c-compiler (make-parameter \"gcc\"))\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/feeley/gambit/issues/122#issuecomment-99914332>.\n>\n"}}