Skip to content

Lang: Japanese, Command: Set-ExecutionPolicy -ExecutionPolicy AllSigned #3553

@mtsg

Description

@mtsg

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

直前 63 個のキー:
 UpArrow UpArrow Enter
 g e t - e x e c u t i o n p o l i c y Enter
 Ctrl+v Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace A l l S i g h n Backspace Backspace n e d Enter
 UpArrow UpArrow UpArrow Enter
 UpArrow UpArrow UpArrow Enter
 Shift+Insert Enter
 Enter


例外:
System.IO.IOException: The parameter is incorrect.

   場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   場所 System.Console.SetCursorPosition(Int32 left, Int32 top)
   場所 Microsoft.PowerShell.PSConsoleReadLine.AcceptLineImpl(Boolean validate)
   場所 Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   場所 Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   場所 Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

image

Environment data

PS Version: 5.1.19041.2364
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.320 (WinBuild.160101.0800)
BufferWidth: 172
BufferHeight: 3000

Steps to reproduce

See error logs.

Expected behavior

No error occurred.

Actual behavior

An error occurred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions