Clear-Host doesn't work in PowerShell on WSL #988

Closed
alexandair opened this Issue Aug 25, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@alexandair
Contributor

alexandair commented Aug 25, 2016

Steps to reproduce

Clear-Host

Expected behavior

It should clear a screen.

Actual behavior

Error mesage:

Program 'clear' failed to run: SuccessAt line:1 char:1ng
+ & (Get-Command -CommandType Application clear | Select-Object -First  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:1ce             Continue
+ & (Get-Command -CommandType Application clear | Select-Object -First  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

Environment data

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   3.0.0.0
GitCommitId                    v6.0.0-alpha.9
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

@alexandair alexandair referenced this issue in PowerShell/PowerShell Aug 25, 2016

Closed

Clear-Host doesn't work in PowerShell on Linux #1952

@russalex russalex added the console label Aug 26, 2016

@russalex

This comment has been minimized.

Show comment
Hide comment
@russalex

russalex Aug 26, 2016

Contributor

Thanks for reporting.

Looks to be related to #933 and #980.

Contributor

russalex commented Aug 26, 2016

Thanks for reporting.

Looks to be related to #933 and #980.

@bitcrazed

This comment has been minimized.

Show comment
Hide comment
@bitcrazed

bitcrazed May 22, 2018

Collaborator

Thanks for the discussion.

Closing this issue since:

  1. This issue is very old and has likely been fixed in recent Win10 builds
  2. This is the WSL issues repo, but this is an issue in Console which has its own Console GitHub Repo
  3. GitHub doesn't allow issues to be moved between repos, preserving posters' identity :(

If you have further asks/issues, please file new issues on our Console GitHub Repo.

Collaborator

bitcrazed commented May 22, 2018

Thanks for the discussion.

Closing this issue since:

  1. This issue is very old and has likely been fixed in recent Win10 builds
  2. This is the WSL issues repo, but this is an issue in Console which has its own Console GitHub Repo
  3. GitHub doesn't allow issues to be moved between repos, preserving posters' identity :(

If you have further asks/issues, please file new issues on our Console GitHub Repo.

@bitcrazed bitcrazed closed this May 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment