{"action":"closed","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3927","repository_url":"https://api.github.com/repos/PowerShell/PowerShell","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3927/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3927/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/3927/events","html_url":"https://github.com/PowerShell/PowerShell/issues/3927","id":233332717,"number":3927,"title":"PSReadline Throws an Exception During Execution Within a Docker Container","user":{"login":"mirichmo","id":12738734,"avatar_url":"https://avatars0.githubusercontent.com/u/12738734?v=3","gravatar_id":"","url":"https://api.github.com/users/mirichmo","html_url":"https://github.com/mirichmo","followers_url":"https://api.github.com/users/mirichmo/followers","following_url":"https://api.github.com/users/mirichmo/following{/other_user}","gists_url":"https://api.github.com/users/mirichmo/gists{/gist_id}","starred_url":"https://api.github.com/users/mirichmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirichmo/subscriptions","organizations_url":"https://api.github.com/users/mirichmo/orgs","repos_url":"https://api.github.com/users/mirichmo/repos","events_url":"https://api.github.com/users/mirichmo/events{/privacy}","received_events_url":"https://api.github.com/users/mirichmo/received_events","type":"User","site_admin":false},"labels":[{"id":390282363,"url":"https://api.github.com/repos/PowerShell/PowerShell/labels/Area-PSReadLine","name":"Area-PSReadLine","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"SteveL-MSFT","id":11859881,"avatar_url":"https://avatars2.githubusercontent.com/u/11859881?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"SteveL-MSFT","id":11859881,"avatar_url":"https://avatars2.githubusercontent.com/u/11859881?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PowerShell/PowerShell/milestones/27","html_url":"https://github.com/PowerShell/PowerShell/milestone/27","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones/27/labels","id":2370396,"number":27,"title":"6.0.0-HighPriority","description":"High priority issues that need to be fixed first to get towards a Release Candidate","creator":{"login":"SteveL-MSFT","id":11859881,"avatar_url":"https://avatars2.githubusercontent.com/u/11859881?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false},"open_issues":87,"closed_issues":34,"state":"open","created_at":"2017-03-07T22:28:08Z","updated_at":"2017-06-05T20:17:27Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-06-03T00:51:00Z","updated_at":"2017-06-05T20:17:27Z","closed_at":"2017-06-05T20:17:27Z","body":"TODO: Add cross-reference to the PSReadline bug\r\nNote: It works fine on Microsoft/powershell:nanoserver\r\nThe workaround is to `remove-module psreadline`\r\n\r\nSteps to reproduce\r\n------------------\r\n1. docker run -it microsoft/powershell:windowsservercore cmd.exe\r\n2. Start powershell core\r\n3. Type a command\r\n\r\nExpected behavior\r\n-----------------\r\nDisplay the contents of the directory\r\n\r\nActual behavior\r\n---------------\r\n```powershell\r\nc:\\Program Files\\PowerShell>.\\6.0.0-beta.2\\POWERSHELL.EXE\r\nPowerShell\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nPS C:\\Program Files\\PowerShell>\r\nOops, something went wrong.  Please report this bug with the details below.\r\nReport on GitHub: https://github.com/lzybkr/PSReadLine/issues/new\r\n-----------------------------------------------------------------------\r\nLast 1 Keys:\r\n d\r\n\r\nException:\r\nSystem.ComponentModel.Win32Exception (0x80004005): Incorrect function\r\n-----------------------------------------------------------------------\r\nir\r\nir : The term 'ir' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was\r\nincluded, verify that the path is correct and try again.\r\nAt line:1 char:1\r\n+ ir\r\n+ ~~\r\n    + CategoryInfo          : ObjectNotFound: (ir:String) [], CommandNotFoundException\r\n    + FullyQualifiedErrorId : CommandNotFoundException\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n<!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\n> $PSVersionTable\r\nName                           Value\r\n----                           -----\r\nPSVersion                      6.0.0-beta\r\nPSEdition                      Core\r\nBuildVersion                   3.0.0.0\r\nCLRVersion\r\nGitCommitId                    v6.0.0-beta.2\r\nOS                             Microsoft Windows 10.0.14393\r\nPlatform                       Win32NT\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\r\n```\r\n"}}
{"actor":{"display_login":"lzybkr"}}