René's URL Explorer Experiment


Title: Pwsh still corrupts environment variable on Linux Arm 64 · Issue #24693 · PowerShell/PowerShell · GitHub

Open Graph Title: Pwsh still corrupts environment variable on Linux Arm 64 · Issue #24693 · PowerShell/PowerShell

X Title: Pwsh still corrupts environment variable on Linux Arm 64 · Issue #24693 · 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/24693

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pwsh still corrupts environment variable on Linux Arm 64","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\nuse the following docker file building on a Linux Arm machine (I'm using AWS Graviton EC2)\r\n\r\n\u003cpre>FROM mcr.microsoft.com/dotnet/sdk:9.0.101-noble-${TARGETARCH}${TARGETVARIANT}\r\nARG TARGETPLATFORM\r\nARG TARGETARCH\r\nARG TARGETVARIANT\r\nARG BUILDVARIANT\r\nARG ARM64ORX64\r\nRUN printf \"I'm building for TARGETPLATFORM=${TARGETPLATFORM}\" \\\r\n&& printf \", TARGETVARIANT=${TARGETVARIANT}\" \\\r\n&& printf \", TARGETARCH=${TARGETARCH}\" \\\r\n&& printf \", BUILDVARIANT=${BUILDVARIANT} \\n\" \\\r\n&& printf \", ARM64ORX64=${ARM64ORX64} \\n\" \\\r\n    && printf \"With uname -s : \" && uname -s \\\r\n    && printf \"and  uname -m : \" && uname -m\r\n\r\nRUN pwsh\r\nRUN pwsh --version\r\nRUN which pwsh\r\nRUN echo $PATH\r\nRUN ls -l /usr/bin/pwsh\r\nRUN pwsh -Command 'Write-Host ${env:PSHOME}'\r\nRUN pwsh -Command 'Write-Host ${env:PATH}'\r\nRUN pwsh -Command 'pwsh -EncodedCommand VwByAGkAdABlAC0ASABvAHMAdAAgACcAaABlAGwAbABvACcA'\r\n\u003c/pre>\r\n\r\nand the following **Exec format error** is output\r\n\r\n\u003cpre> > [10/10] RUN pwsh -Command 'pwsh -EncodedCommand VwByAGkAdABlAC0ASABvAHMAdAAgACcAaABlAGwAbABvACcA':\r\n\r\n[2024-12-18T13:30:25.569Z] 1.392 ResourceUnavailable: Program 'pwsh' failed to run: An error occurred trying to start process '/usr/share/powershell/.store/powershell.linux.arm64/7.5.0-preview.5/powershell.linux.arm64/7.5.0-preview.5/tools/net9.0/any/pwsh' with working directory '/'. Exec format errorAt line:1 char:1\u003c/pre>\r\n\r\nFull docker output : [dockerlog.txt](https://github.com/user-attachments/files/18195619/dockerlog.txt)\r\n\r\n\r\nthis was originally raised via Issue https://github.com/PowerShell/PowerShell/issues/24090 and I thought this was resolved in PR https://github.com/PowerShell/PowerShell/pull/24228\r\n\r\n### Expected behavior\r\n\r\n```console\r\n[2024-12-18T13:27:43.017Z] #13 [10/10] RUN pwsh -Command 'pwsh -EncodedCommand VwByAGkAdABlAC0ASABvAHMAdAAgACcAaABlAGwAbABvACcA'\r\n\r\n\r\nshould output \"hello\"\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\n[2024-12-18T13:30:25.569Z] #13 1.392 ResourceUnavailable: Program 'pwsh' failed to run: An error occurred trying to start process '/usr/share/powershell/.store/powershell.linux.arm64/7.5.0-preview.5/powershell.linux.arm64/7.5.0-preview.5/tools/net9.0/any/pwsh' with working directory '/'. Exec format errorAt line:1 char:1\r\n```\r\n\r\n\r\n### Error details\r\n\r\n_No response_\r\n\r\n### Environment data\r\n\r\n```powershell\r\nRUN pwsh $PSVersionTable\r\n\r\n[2024-12-19T10:04:36.769Z] #11 0.636 PowerShell 7.5.0-preview.5\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/SleepyFoxStudio","@type":"Person","name":"SleepyFoxStudio"},"datePublished":"2024-12-19T10:09:15Z","url":"https://github.com/PowerShell/PowerShell/issues/24693"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1b613b8d-b032-5870-7827-5d2700ff82d6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id842A:2AABF1:21B9C96:2F40E08:6AFD31D1
html-safe-nonce547f9d445c236e96756fc866c5c619f3bc0fbe52bf4e725d27894c1ccf7846f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDJBOjJBQUJGMToyMUI5Qzk2OjJGNDBFMDg6NkFGRDMxRDEiLCJ2aXNpdG9yX2lkIjoiNTQ3ODA5MTM3MzIwNDU1MDA5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac96e2222ba21fc2fdf786731a8440009658f83dc508de9ca539237788d7f090de
hovercard-subject-tagissue:2749825303
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/24693/issue_layout
twitter:imagehttps://opengraph.githubassets.com/594c5f1706be87439b2b2ee34f535eef8a984c32fd5d11faf9d7c118e9a23f70/PowerShell/PowerShell/issues/24693
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/594c5f1706be87439b2b2ee34f535eef8a984c32fd5d11faf9d7c118e9a23f70/PowerShell/PowerShell/issues/24693
og:image:altPrerequisites 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSleepyFoxStudio
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/24693#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F24693
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F24693
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/24693
Reloadhttps://github.com/PowerShell/PowerShell/issues/24693
Reloadhttps://github.com/PowerShell/PowerShell/issues/24693
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests364 (364)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/24693
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/24693
Pwsh still corrupts environment variable on Linux Arm 64https://github.com/PowerShell/PowerShell/issues/24693#top
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
WG-NeedsReviewNeeds a review by the labeled Working Grouphttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-NeedsReview%22
https://github.com/SleepyFoxStudio
Mark Richardson (SleepyFoxStudio)https://github.com/SleepyFoxStudio
on Dec 19, 2024https://github.com/PowerShell/PowerShell/issues/24693#issue-2749825303
latest released versionhttps://github.com/PowerShell/PowerShell/releases
FAQhttps://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md
Differences between Windows PowerShell 5.1 and PowerShellhttps://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell
dockerlog.txthttps://github.com/user-attachments/files/18195619/dockerlog.txt
#24090https://github.com/PowerShell/PowerShell/issues/24090
#24228https://github.com/PowerShell/PowerShell/pull/24228
Mark Richardson (SleepyFoxStudio)https://github.com/SleepyFoxStudio
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
on Dec 19, 2024https://github.com/PowerShell/PowerShell/issues/24693#event-15715053531
Patrick Meinecke (SeeminglyScience)https://github.com/SeeminglyScience
WG-NeedsReviewNeeds a review by the labeled Working Grouphttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-NeedsReview%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
on Dec 20, 2024https://github.com/PowerShell/PowerShell/issues/24693#event-15736062322
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Dec 20, 2024https://github.com/PowerShell/PowerShell/issues/24693#issuecomment-2557736071
https://github.com/PowerShell/PowerShell/pull/24228/fileshttps://github.com/PowerShell/PowerShell/pull/24228/files
https://avatars.githubusercontent.com/u/127450?s=400&v=4
https://camo.githubusercontent.com/7e41d4698b37a89b2a8c06057583a5f48ce614b0fb7e2b93d27a2ec01c8f024b/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f66617669636f6e732f66617669636f6e2e737667
Handle global tool specially when prepending PSHome to PATH by daxian-dbw · Pull Request #24228 · PowerShell/PowerShellhttps://github.com/PowerShell/PowerShell/pull/24228
#24090https://github.com/PowerShell/PowerShell/issues/24090
https://github.com/SleepyFoxStudio
Mark Richardson (SleepyFoxStudio)https://github.com/SleepyFoxStudio
on Jan 6, 2025https://github.com/PowerShell/PowerShell/issues/24693#issuecomment-2573376035
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/24693
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/24693
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
WG-NeedsReviewNeeds a review by the labeled Working Grouphttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-NeedsReview%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.