René's URL Explorer Experiment


Title: RunspacePool mutates the PSModulePath · Issue #9921 · PowerShell/PowerShell · GitHub

Open Graph Title: RunspacePool mutates the PSModulePath · Issue #9921 · PowerShell/PowerShell

X Title: RunspacePool mutates the PSModulePath · Issue #9921 · PowerShell/PowerShell

Description: From PowerShell/vscode-powershell#2008. Related to #6850. When using a RunspacePool (common in hosted and remote contexts), the PSModulePath gets reset whenever a runspace is opened. This occurs because ModuleIntrinsics sets the module p...

Open Graph Description: From PowerShell/vscode-powershell#2008. Related to #6850. When using a RunspacePool (common in hosted and remote contexts), the PSModulePath gets reset whenever a runspace is opened. This occurs be...

X Description: From PowerShell/vscode-powershell#2008. Related to #6850. When using a RunspacePool (common in hosted and remote contexts), the PSModulePath gets reset whenever a runspace is opened. This occurs be...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/9921

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RunspacePool mutates the PSModulePath","articleBody":"From https://github.com/PowerShell/vscode-powershell/issues/2008.\r\n\r\nRelated to https://github.com/PowerShell/PowerShell/issues/6850.\r\n\r\nWhen using a RunspacePool (common in hosted and remote contexts), the PSModulePath gets reset whenever a runspace is opened.\r\n\r\nThis occurs because `ModuleIntrinsics` sets the module path at constructor time:\r\n\r\nhttps://github.com/PowerShell/PowerShell/blob/66c628f1b0992312e66830a6f660e1fe99129863/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cs#L41-L47\r\n\r\nas if it were a process-singleton.\r\n\r\nEvery time a runspace is opened in PowerShell, the whole process gets its PSModulePath reset, which is a problem for things like EditorServices where we use a runspace to run analysis in the background, but users expect to be able to modify the PSModulePath in the IntegratedConsole.","author":{"url":"https://github.com/rjmholt","@type":"Person","name":"rjmholt"},"datePublished":"2019-06-18T00:50:09Z","url":"https://github.com/PowerShell/PowerShell/issues/9921"}

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:90dec04a-f799-55c9-0a23-c11d4f811ae5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD816:2E91B1:35D52:47BF1:6AFD39B6
html-safe-nonce69f9886a3de2734199f92abf60c7cd1af99b82dd221a48480da2df3ee31e2eb4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODE2OjJFOTFCMTozNUQ1Mjo0N0JGMTo2QUZEMzlCNiIsInZpc2l0b3JfaWQiOiI3NDY5NTI2MTQ2MjM3Njc1OTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace9b0d93c96d9dea176cb1906ee7ddb33a5cea0afdbdc4cbdb07b690b0f043d76
hovercard-subject-tagissue:457209139
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/9921/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7cc1c68a760f13157f0d2256132ad4bcfa52800264e623f2221539f1c5b5af60/PowerShell/PowerShell/issues/9921
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7cc1c68a760f13157f0d2256132ad4bcfa52800264e623f2221539f1c5b5af60/PowerShell/PowerShell/issues/9921
og:image:altFrom PowerShell/vscode-powershell#2008. Related to #6850. When using a RunspacePool (common in hosted and remote contexts), the PSModulePath gets reset whenever a runspace is opened. This occurs be...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerjmholt
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
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
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/9921#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F9921
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%2F9921
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/9921
Reloadhttps://github.com/PowerShell/PowerShell/issues/9921
Reloadhttps://github.com/PowerShell/PowerShell/issues/9921
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/9921
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/9921
#11057https://github.com/PowerShell/PowerShell/pull/11057
RunspacePool mutates the PSModulePathhttps://github.com/PowerShell/PowerShell/issues/9921#top
#11057https://github.com/PowerShell/PowerShell/pull/11057
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
on Jun 18, 2019https://github.com/PowerShell/PowerShell/issues/9921#issue-457209139
PowerShell/vscode-powershell#2008https://github.com/PowerShell/vscode-powershell/issues/2008
#6850https://github.com/PowerShell/PowerShell/issues/6850
PowerShell/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cshttps://github.com/PowerShell/PowerShell/blob/66c628f1b0992312e66830a6f660e1fe99129863/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cs#L41-L47
66c628fhttps://github.com/PowerShell/PowerShell/commit/66c628f1b0992312e66830a6f660e1fe99129863
Nexthttps://github.com/PowerShell/PowerShell/issues/9921?timeline_page=1
Rob Holt (rjmholt)https://github.com/rjmholt
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
on Jun 18, 2019https://github.com/PowerShell/PowerShell/issues/9921#event-2419261513
https://github.com/alx9r
alx9rhttps://github.com/alx9r
on Jun 28, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506776969
https://github.com/alx9r
alx9rhttps://github.com/alx9r
on Jun 28, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506838056
Rob Holt (@rjmholt)https://github.com/rjmholt
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
on Jun 28, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506868780
https://github.com/alx9r
alx9rhttps://github.com/alx9r
on Jun 28, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506888307
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
on Jun 28, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506891537
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Jun 29, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506929464
#9957https://github.com/PowerShell/PowerShell/issues/9957
https://github.com/alx9r
alx9rhttps://github.com/alx9r
on Jun 29, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506956748
#9957https://github.com/PowerShell/PowerShell/issues/9957
#9957https://github.com/PowerShell/PowerShell/issues/9957
https://github.com/alx9r
alx9rhttps://github.com/alx9r
on Jun 29, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506958671
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Jun 29, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506971178
alx9rhttps://github.com/alx9r
https://github.com/alx9r
alx9rhttps://github.com/alx9r
on Jun 29, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-506974040
Ilya (@iSazonov)https://github.com/iSazonov
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#11057https://github.com/PowerShell/PowerShell/pull/11057
on Nov 16, 2019https://github.com/PowerShell/PowerShell/issues/9921#event-2804422951
Ilya (iSazonov)https://github.com/iSazonov
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
on Nov 20, 2019https://github.com/PowerShell/PowerShell/issues/9921#event-2813931138
https://github.com/rjmholt
Rob Holt (rjmholt)https://github.com/rjmholt
on Dec 10, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-564299411
#11057https://github.com/PowerShell/PowerShell/pull/11057
PowerShell/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cshttps://github.com/PowerShell/PowerShell/blob/0c46e3e71d628b96833da0299890be89fae430bf/src/System.Management.Automation/engine/Modules/ModuleIntrinsics.cs#L42-L48
0c46e3ehttps://github.com/PowerShell/PowerShell/commit/0c46e3e71d628b96833da0299890be89fae430bf
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
on Dec 12, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-565201027
Ilya (@iSazonov)https://github.com/iSazonov
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Dec 13, 2019https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-565326195
Dongbo Wang (@daxian-dbw)https://github.com/daxian-dbw
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 14, 2019https://github.com/PowerShell/PowerShell/issues/9921#event-2883341474
Ilya (iSazonov)https://github.com/iSazonov
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
on Dec 14, 2019https://github.com/PowerShell/PowerShell/issues/9921#event-2883505270
Ilya (iSazonov)https://github.com/iSazonov
on Dec 14, 2019https://github.com/PowerShell/PowerShell/issues/9921#event-2883505316
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Feb 1, 2020https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-581027913
Ilya (iSazonov)https://github.com/iSazonov
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
on Jan 15, 2021https://github.com/PowerShell/PowerShell/issues/9921#event-4210485372
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-1813815294
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-1813815297
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-1813815298
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/9921#event-10975856827
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/9921#issuecomment-1824370252
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/9921#event-11047277107
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/9921
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/9921
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%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.