Title: `STDIN` is always corrupted in `com.termux.nix/files/home/.nix-profile/bin/pwsh`, and solely when `Start-Transcript` is active, in `org.kde.konsole.flatpakref`. · Issue #16746 · PowerShell/PowerShell · GitHub
Open Graph Title: `STDIN` is always corrupted in `com.termux.nix/files/home/.nix-profile/bin/pwsh`, and solely when `Start-Transcript` is active, in `org.kde.konsole.flatpakref`. · Issue #16746 · PowerShell/PowerShell
X Title: `STDIN` is always corrupted in `com.termux.nix/files/home/.nix-profile/bin/pwsh`, and solely when `Start-Transcript` is active, in `org.kde.konsole.flatpakref`. · Issue #16746 · PowerShell/PowerShell
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 reprodu...
Open Graph 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 PowerSh...
X 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 PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/16746
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`STDIN` is always corrupted in `com.termux.nix/files/home/.nix-profile/bin/pwsh`, and solely when `Start-Transcript` is active, in `org.kde.konsole.flatpakref`.","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [X] Search the existing issues.\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\n1.\t~~~sh\n\t#!/usr/bin/env sh\n\tsudo dnf --verbose --debugsolver install powershell-preview\n\t~~~\n\t\n1.\t~~~PS1\n\t#!/usr/bin/env pwsh\n\tsudo dnf --verbose --debugsolver install flatpak\n\tflatpak -vv --ostree-verbose remote-add --installation=default --if-not-exists 'flathub' --from 'https://flathub.org/repo/flathub.flatpakrepo'\n\tflatpak -vv --ostree-verbose install --installation=default --or-update 'flathub' 'runtime/org.kde.Sdk//5.15-21.08'\n\tflatpak -vv --ostree-verbose remote-add --installation=default --if-not-exists 'kdeapps' --from 'https://distribute.kde.org/kdeapps.flatpakrepo'\n\tflatpak -vv --ostree-verbose install --installation=default --or-update 'kdeapps' 'app/org.kde.konsole//master'`\n\tflatpak -vv --ostree-verbose run --installation=default --log-system-bus --log-session-bus --runtime='org.kde.Sdk' 'app/org.kde.konsole//master'\n\t~~~\n\n### Expected behavior\n\n\u003cblockQuote>\n\n~~~ini\n[📦 org.kde.konsole /]$ /usr/bin/env /usr/bin/flatpak-spawn --host /usr/bin/env /usr/bin/pwsh -NoExit -Command 'Start-Transcript -Append -NoClobber -IncludeInvocationHeader'\nTranscript started, output file is /home/BEEDELLROKEJULIANLOCKHART/PowerShell_transcript.fedora.8w0eKJsQ.20220113224917.txt\nPS /> sudo dnf check-update\nFailed to set locale, defaulting to C.UTF-8\nLast metadata expiration check: 0:43:20 ago on Thu Jan 13 22:06:07 2022.\nPS />\n~~~\n\n\u003c/blockQuote>\n\n### Actual behavior\n\n`STDIN` is corrupted:\n\n\u003cblockQuote>\n\n~~~ini\n[📦 org.kde.konsole /]$ /usr/bin/env /usr/bin/flatpak-spawn --host /usr/bin/env /usr/bin/pwsh -NoExit -Command 'Start-Transcript -Append -NoClobber -IncludeInvocationHeader'\nTranscript started, output file is /home/BEEDELLROKEJULIANLOCKHART/PowerShell_transcript.fedora.8w0eKJsQ.20220113224917.txt\nPS /> 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\nFailed to set locale, defaulting to C.UTF-8\nLast metadata expiration check: 0:43:20 ago on Thu Jan 13 22:06:07 2022.\nPS />\n~~~\n\n\u003c/blockQuote>\n\n### Error details\n\n\u003cblockQuote>\n\n~~~RS\nPS /> GGeGetGet-Get-EGet-ErGet-ErrGet-ErroGet-Error\n~~~\n\n\u003c/blockQuote>\n\nIt returns `$Null`.\n\n### Environment data\n\n\u003cblockQuote>\n\n~~~RS\nPS /> $$PSVe$PSVer$PSVers$PSVersi$PSVersio$PSVersion$PSVersionT$PSVersionTa$PSVersionTab$PSVersionTabl$PSVersionTable\n\nName Value\n---- -----\nPSVersion 7.2.1\nPSEdition Core\nGitCommitId 7.2.1\nOS Linux 5.15.13-200.fc35.x86_64 #1 SMP Wed Jan 5 16:39:13 UTC 2022\nPlatform Unix\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\nWSManStackVersion 3.0\n~~~\n\n\u003c/blockQuote>\n\n### Visuals\n\n_No response_","author":{"url":"https://github.com/beedell-roke","@type":"Person","name":"beedell-roke"},"datePublished":"2022-01-13T23:10:30Z","url":"https://github.com/PowerShell/PowerShell/issues/16746"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa65cf4b-014f-73b8-bc44-729acd5a5d33 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E798:19FFE:95A19:C9E2B:6AFD2AFD |
| html-safe-nonce | db29f70b6c23e4d2c3c5ce442909b3e5de8811d76a7467a07a2090df724c0268 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzk4OjE5RkZFOjk1QTE5OkM5RTJCOjZBRkQyQUZEIiwidmlzaXRvcl9pZCI6IjEwMjAxNDc4NDA4OTYwMTkxOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bee6310396d53634c731fb1383362136848b41b29c3936a513928e2f0a92270d |
| hovercard-subject-tag | issue:1102547665 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/16746/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71f2f7339a9ba69eaba045ae15aa216dddad0c629f5fc5e1413c149b6cbce9e0/PowerShell/PowerShell/issues/16746 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71f2f7339a9ba69eaba045ae15aa216dddad0c629f5fc5e1413c149b6cbce9e0/PowerShell/PowerShell/issues/16746 |
| og:image:alt | 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 PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | beedell-roke |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width