{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1555","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1555/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1555/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1555/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1555","id":198089456,"number":1555,"title":"It seems bash script cannot be used in powershell job","user":{"login":"hzhangxyz","id":11623447,"avatar_url":"https://avatars.githubusercontent.com/u/11623447?v=3","gravatar_id":"","url":"https://api.github.com/users/hzhangxyz","html_url":"https://github.com/hzhangxyz","followers_url":"https://api.github.com/users/hzhangxyz/followers","following_url":"https://api.github.com/users/hzhangxyz/following{/other_user}","gists_url":"https://api.github.com/users/hzhangxyz/gists{/gist_id}","starred_url":"https://api.github.com/users/hzhangxyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzhangxyz/subscriptions","organizations_url":"https://api.github.com/users/hzhangxyz/orgs","repos_url":"https://api.github.com/users/hzhangxyz/repos","events_url":"https://api.github.com/users/hzhangxyz/events{/privacy}","received_events_url":"https://api.github.com/users/hzhangxyz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-30T00:44:08Z","updated_at":"2016-12-30T02:57:54Z","closed_at":null,"body":"First just start a server such as \"python -m SimpleHTTPServer 8000\" in bash\r\n\r\nI try run `Start-Job {bash -c \"curl http://localhost:8000/\"}` in powershell, the server receive nothing\r\n\r\nWhile `Start-Job {curl http://localhost:8000/}` will send request to the server\r\n\r\nSo... Why ?"},"comment":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/comments/269725880","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1555#issuecomment-269725880","issue_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1555","id":269725880,"user":{"login":"hzhangxyz","id":11623447,"avatar_url":"https://avatars.githubusercontent.com/u/11623447?v=3","gravatar_id":"","url":"https://api.github.com/users/hzhangxyz","html_url":"https://github.com/hzhangxyz","followers_url":"https://api.github.com/users/hzhangxyz/followers","following_url":"https://api.github.com/users/hzhangxyz/following{/other_user}","gists_url":"https://api.github.com/users/hzhangxyz/gists{/gist_id}","starred_url":"https://api.github.com/users/hzhangxyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzhangxyz/subscriptions","organizations_url":"https://api.github.com/users/hzhangxyz/orgs","repos_url":"https://api.github.com/users/hzhangxyz/repos","events_url":"https://api.github.com/users/hzhangxyz/events{/privacy}","received_events_url":"https://api.github.com/users/hzhangxyz/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T02:57:53Z","updated_at":"2016-12-30T02:57:53Z","body":"But .. the problem isn't something about curl, bash script cannot run in this situation , I means....\r\n\r\n\r\n-------- 原始信息 --------\r\n由： fcicq <notifications@github.com>\r\n日期: 2016/12/30 10:45 (GMT+08:00)\r\n收件人： Microsoft/BashOnWindows <BashOnWindows@noreply.github.com>\r\n抄送： SpinningAleph0 <zh970205@outlook.com>, Author <author@noreply.github.com>\r\n主题： Re: [Microsoft/BashOnWindows] It seems bash script cannot be used in powershell job (#1555)\r\n\r\n\r\ncurl is an alias to \"Invoke-WebRequest\" in powershell, the curl author complained a while ago ( https://daniel.haxx.se/blog/2016/08/19/removing-the-powershell-curl-alias/ )\r\n\r\n―\r\nYou are receiving this because you authored the thread.\r\nReply to this email directly, view it on GitHub<https://github.com/Microsoft/BashOnWindows/issues/1555#issuecomment-269725004>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALFcF1swH7EWvvUabYReKQ1576ntQcYtks5rNHA1gaJpZM4LX74T>.\r\n"}}
{"actor":{"display_login":"hzhangxyz"}}