-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed as not planned
Labels
WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
-
#!/usr/bin/env sh sudo dnf --verbose --debugsolver install powershell-preview
-
#!/usr/bin/env pwsh sudo dnf --verbose --debugsolver install flatpak flatpak -vv --ostree-verbose remote-add --installation=default --if-not-exists 'flathub' --from 'https://flathub.org/repo/flathub.flatpakrepo' flatpak -vv --ostree-verbose install --installation=default --or-update 'flathub' 'runtime/org.kde.Sdk//5.15-21.08' flatpak -vv --ostree-verbose remote-add --installation=default --if-not-exists 'kdeapps' --from 'https://distribute.kde.org/kdeapps.flatpakrepo' flatpak -vv --ostree-verbose install --installation=default --or-update 'kdeapps' 'app/org.kde.konsole//master'` flatpak -vv --ostree-verbose run --installation=default --log-system-bus --log-session-bus --runtime='org.kde.Sdk' 'app/org.kde.konsole//master'
Expected behavior
[📦 org.kde.konsole /]$ /usr/bin/env /usr/bin/flatpak-spawn --host /usr/bin/env /usr/bin/pwsh -NoExit -Command 'Start-Transcript -Append -NoClobber -IncludeInvocationHeader' Transcript started, output file is /home/BEEDELLROKEJULIANLOCKHART/PowerShell_transcript.fedora.8w0eKJsQ.20220113224917.txt PS /> sudo dnf check-update Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:43:20 ago on Thu Jan 13 22:06:07 2022. PS />
Actual behavior
STDIN
is corrupted:
[📦 org.kde.konsole /]$ /usr/bin/env /usr/bin/flatpak-spawn --host /usr/bin/env /usr/bin/pwsh -NoExit -Command 'Start-Transcript -Append -NoClobber -IncludeInvocationHeader' Transcript started, output file is /home/BEEDELLROKEJULIANLOCKHART/PowerShell_transcript.fedora.8w0eKJsQ.20220113224917.txt PS /> ssusudsudosudo sudo dsudo dnsudo dnfsudo dnf sudo dnf csudo dnf chsudo dnf chesudo dnf checsudo dnf checksudo dnf check-sudo dnf check-usudo dnf check-upsudo dnf check-updsudo dnf check-updasudo dnf check-updatsudo dnf check-update Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:43:20 ago on Thu Jan 13 22:06:07 2022. PS />
Error details
PS /> GGeGetGet-Get-EGet-ErGet-ErrGet-ErroGet-Error
It returns $Null
.
Environment data
PS /> $$PSVe$PSVer$PSVers$PSVersi$PSVersio$PSVersion$PSVersionT$PSVersionTa$PSVersionTab$PSVersionTabl$PSVersionTable Name Value ---- ----- PSVersion 7.2.1 PSEdition Core GitCommitId 7.2.1 OS Linux 5.15.13-200.fc35.x86_64 #1 SMP Wed Jan 5 16:39:13 UTC 2022 Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
Visuals
No response
RokeJulianLockhart
Metadata
Metadata
Assignees
Labels
WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime