Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PowerShell v6.0.0-alpha.14 is crashing in Container interactive terminals #492

Copy link
Copy link
@brycem

Description

@brycem
Issue body actions

step1:
docker build https://raw.githubusercontent.com/PowerShell/PowerShell/master/docker/release/nanoserver/Dockerfile -t alpha.14

step2:
docker run -it --rm alpha.14 "c:\Program Files\PowerShell\Core\powershell.exe"

step3:
type something...

result:

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\>dir
 Volume in drive C has no label.
 Volume Serial Number is 8AE0-9651

 Directory of C:\

01/12/2017  10:35 PM             3,557 Dockerfile.log
11/20/2016  03:32 AM             1,894 License.txt
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\>"c:\Program Files\PowerShell\Core\powershell.exe"
PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\>
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
ir
ir : 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 included, verify that the path is
correct and try again.
At line:1 char:1
+ ir
+ ~~
    + CategoryInfo          : ObjectNotFound: (ir:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\>

notes
this wasn't happening in Alpha.12... Seems to happen independent of the TTY terminal used (I tied minty.exe, vscode.exe, cmd.exe, and desktop powershell.exe on Win10 client)

In a newer version of the dockerfile I'm working on, this same build shows it working in in non-interactive mode. Also repros in windowsservercore

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.