René's URL Explorer Experiment


Title: Prefer /bin/bash and validate SHELL points to bash before using it by Copilot · Pull Request #81 · wp-cli/shell-command · GitHub

Open Graph Title: Prefer /bin/bash and validate SHELL points to bash before using it by Copilot · Pull Request #81 · wp-cli/shell-command

X Title: Prefer /bin/bash and validate SHELL points to bash before using it by Copilot · Pull Request #81 · wp-cli/shell-command

Description: Opens an interactive PHP console for running and testing PHP code. - Prefer /bin/bash and validate SHELL points to bash before using it by Copilot · Pull Request #81 · wp-cli/shell-command

Open Graph Description: On systems like NixOS, bash is not located at /bin/bash. The wp shell command was hardcoded to this path, causing failures despite the shell being available at $SHELL. However, directly using $SHEL...

X Description: On systems like NixOS, bash is not located at /bin/bash. The wp shell command was hardcoded to this path, causing failures despite the shell being available at $SHELL. However, directly using $SHEL...

Opengraph URL: https://github.com/wp-cli/shell-command/pull/81

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f5cdd9fe-20eb-63b2-dff2-6f3d745d5b59
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id80CC:33790F:12A5C45:1A24F77:6AFA21CF
html-safe-nonce597444d8f136e4c3e5d6be086654cba39e9111a7d582f93f92874d7e30e6d681
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MENDOjMzNzkwRjoxMkE1QzQ1OjFBMjRGNzc6NkFGQTIxQ0YiLCJ2aXNpdG9yX2lkIjoiNjQ1NzUzODM4ODUxNjU0NDk3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaceb6d40bebf7c840b89e5a5bb4981dbba7cddfad10b5af490745f64143dd6d65e
hovercard-subject-tagpull_request:3233807253
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/shell-command/81/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cabb40a07a6896529713813fc76e403684be33317ac1e0733b7a722a096543a8/wp-cli/shell-command/pull/81
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cabb40a07a6896529713813fc76e403684be33317ac1e0733b7a722a096543a8/wp-cli/shell-command/pull/81
og:image:altOn systems like NixOS, bash is not located at /bin/bash. The wp shell command was hardcoded to this path, causing failures despite the shell being available at $SHELL. However, directly using $SHEL...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/shell-command git https://github.com/wp-cli/shell-command.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id85307675
octolytics-dimension-repository_nwowp-cli/shell-command
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id85307675
octolytics-dimension-repository_network_root_nwowp-cli/shell-command
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/shell-command/pull/81#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F81
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%2Fwp-cli%2Fshell-command%2Fpull%2F81
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fshell-command
Reloadhttps://github.com/wp-cli/shell-command/pull/81
Reloadhttps://github.com/wp-cli/shell-command/pull/81
Reloadhttps://github.com/wp-cli/shell-command/pull/81
wp-clihttps://github.com/wp-cli
shell-commandhttps://github.com/wp-cli/shell-command
Codehttps://github.com/wp-cli/shell-command
Issueshttps://github.com/wp-cli/shell-command/issues
Pull requestshttps://github.com/wp-cli/shell-command/pulls
Actionshttps://github.com/wp-cli/shell-command/actions
Security and qualityhttps://github.com/wp-cli/shell-command/security
Insightshttps://github.com/wp-cli/shell-command/pulse
https://github.com/wp-cli/shell-command
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/shell-command/tree/main
copilot/fix-shell-binary-detectionhttps://github.com/wp-cli/shell-command/tree/copilot/fix-shell-binary-detection
Conversationhttps://github.com/wp-cli/shell-command/pull/81
Commits7 (7)https://github.com/wp-cli/shell-command/pull/81/commits
Checkshttps://github.com/wp-cli/shell-command/pull/81/checks
Files changedhttps://github.com/wp-cli/shell-command/pull/81/files
Prefer /bin/bash and validate SHELL points to bash before using ithttps://github.com/wp-cli/shell-command/pull/81#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/shell-command/tree/main
copilot/fix-shell-binary-detectionhttps://github.com/wp-cli/shell-command/tree/copilot/fix-shell-binary-detection
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Feb 1, 2026https://github.com/wp-cli/shell-command/pull/81#issue-3882752260
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
contribution guidelineshttps://make.wordpress.org/cli/handbook/contributing/
how to write clear bug reportshttps://make.wordpress.org/cli/handbook/bug-reports/
getenv( 'SHELL' )https://github.com/wp-cli/wp-cli/blob/0ca6d920123ac904c918d69181edc5071dc92c9d/php/commands/src/CLI_Command.php#L126C12-L126C29
uses getenv( 'WP_CLI_CUSTOM_SHELL' ) to check for a "custom shell", then assumes /bin/bash is it isn't sethttps://github.com/wp-cli/shell-command/blob/main/src/WP_CLI/Shell/REPL.php#L118
Why not use $shell_binary = getenv( 'SHELL' ); instead of $shell_binary = '/bin/bash';https://github.com/wp-cli/shell-command/blob/main/src/WP_CLI/Shell/REPL.php#L121C4-L121C32
@copilothttps://gh.io/copilot-coding-agent-docs
@swissspidyhttps://github.com/swissspidy
Shell binary not getting detected correctly? #66https://github.com/wp-cli/shell-command/issues/66
2 minute surveyhttps://gh.io/copilot-coding-agent-survey
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/wp-cli/shell-command/pull/81/commits/adf565360cc2fb844d965fd9195b363626e400d8
adf5653https://github.com/wp-cli/shell-command/pull/81/commits/adf565360cc2fb844d965fd9195b363626e400d8
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
Feb 1, 2026https://github.com/wp-cli/shell-command/pull/81#event-22447581806
started workhttps://github.com/wp-cli/shell-command/sessions/7547ea2c-25fe-46ee-9e90-2966b4abe0f0
swissspidyhttps://github.com/swissspidy
February 1, 2026 19:30https://github.com/wp-cli/shell-command/pull/81#event-22447583516
View session https://github.com/wp-cli/shell-command/sessions/7547ea2c-25fe-46ee-9e90-2966b4abe0f0
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Use SHELL environment variable as fallback before /bin/bashhttps://github.com/wp-cli/shell-command/pull/81/commits/2071c56b453a10f0e832b9a4359378d33af4c4b7
2071c56https://github.com/wp-cli/shell-command/pull/81/commits/2071c56b453a10f0e832b9a4359378d33af4c4b7
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Feb 1, 2026https://github.com/wp-cli/shell-command/pull/81#event-22447624688
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
February 1, 2026 19:35https://github.com/wp-cli/shell-command/pull/81#event-22447625807
finished workhttps://github.com/wp-cli/shell-command/sessions/7547ea2c-25fe-46ee-9e90-2966b4abe0f0
swissspidyhttps://github.com/swissspidy
February 1, 2026 19:35https://github.com/wp-cli/shell-command/pull/81#event-22447625895
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Feb 1, 2026https://github.com/wp-cli/shell-command/pull/81#issuecomment-3832122655
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
Codecovhttps://app.codecov.io/gh/wp-cli/shell-command/pull/81?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Files with missing lineshttps://app.codecov.io/gh/wp-cli/shell-command/pull/81?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
src/WP_CLI/Shell/REPL.phphttps://app.codecov.io/gh/wp-cli/shell-command/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli#diff-c3JjL1dQX0NMSS9TaGVsbC9SRVBMLnBocA==
8 Missing ⚠️ https://app.codecov.io/gh/wp-cli/shell-command/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
2.0.17https://github.com/wp-cli/shell-command/milestone/23
Feb 2, 2026https://github.com/wp-cli/shell-command/pull/81#event-22451812938
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Copilothttps://github.com/apps/copilot-pull-request-reviewer
February 2, 2026 02:01https://github.com/wp-cli/shell-command/pull/81#event-22451823562
https://github.com/swissspidy
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F81
started reviewinghttps://github.com/wp-cli/shell-command/sessions/9026327a-5d8f-4435-8f67-09d07aaa50eb
swissspidyhttps://github.com/swissspidy
February 2, 2026 02:02https://github.com/wp-cli/shell-command/pull/81#event-22451836380
View session https://github.com/wp-cli/shell-command/sessions/9026327a-5d8f-4435-8f67-09d07aaa50eb
https://github.com/apps/gemini-code-assist
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F81
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
command:shell https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Acommand%3Ashell
scope:distribution https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Ascope%3Adistribution
state:unconfirmed https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Astate%3Aunconfirmed
Feb 2, 2026https://github.com/wp-cli/shell-command/pull/81#event-22451870399
https://github.com/apps/copilot-pull-request-reviewer
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F81
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
Update features/shell.featurehttps://github.com/wp-cli/shell-command/pull/81/commits/325dbde8c93194c6fa6034ba9e2aec4b984f8a8d
325dbdehttps://github.com/wp-cli/shell-command/pull/81/commits/325dbde8c93194c6fa6034ba9e2aec4b984f8a8d
started workhttps://github.com/wp-cli/shell-command/sessions/1332e41f-16cf-4eb9-8507-ecdb55a9e047
swissspidyhttps://github.com/swissspidy
February 4, 2026 01:59https://github.com/wp-cli/shell-command/pull/81#event-22514750101
View session https://github.com/wp-cli/shell-command/sessions/1332e41f-16cf-4eb9-8507-ecdb55a9e047
Copilothttps://github.com/apps/copilot-swe-agent
February 4, 2026 02:01https://github.com/wp-cli/shell-command/pull/81#commits-pushed-d424ea8
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Prefer /bin/bash and only use SHELL for bash shellshttps://github.com/wp-cli/shell-command/pull/81/commits/d424ea89a410f5063c9ab82a11eda60958fb5fd2
d424ea8https://github.com/wp-cli/shell-command/pull/81/commits/d424ea89a410f5063c9ab82a11eda60958fb5fd2
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Improve bash detection and test reliabilityhttps://github.com/wp-cli/shell-command/pull/81/commits/8eae8ef998fed23a7a0c49b659c842185fd8d961
8eae8efhttps://github.com/wp-cli/shell-command/pull/81/commits/8eae8ef998fed23a7a0c49b659c842185fd8d961
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Feb 4, 2026https://github.com/wp-cli/shell-command/pull/81#event-22514831791
finished workhttps://github.com/wp-cli/shell-command/sessions/1332e41f-16cf-4eb9-8507-ecdb55a9e047
swissspidyhttps://github.com/swissspidy
February 4, 2026 02:04https://github.com/wp-cli/shell-command/pull/81#event-22514834182
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
February 4, 2026 03:17https://github.com/wp-cli/shell-command/pull/81#event-22515942983
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/shell-command/blob/e1106261b84c5f3df3ab53f623ca05d02de1fc17/.github/CODEOWNERS#L1
February 4, 2026 03:17https://github.com/wp-cli/shell-command/pull/81#event-22515943299
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
state:unconfirmed https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Astate%3Aunconfirmed
Feb 16, 2026https://github.com/wp-cli/shell-command/pull/81#event-22827913202
swissspidyhttps://github.com/swissspidy
February 16, 2026 16:02https://github.com/wp-cli/shell-command/pull/81#commits-pushed-9be1b9a
https://github.com/swissspidy
Merge branch 'main' into copilot/fix-shell-binary-detectionhttps://github.com/wp-cli/shell-command/pull/81/commits/9be1b9a1c4d395d64b3fa589b1d8b6f2374f5c03
9be1b9ahttps://github.com/wp-cli/shell-command/pull/81/commits/9be1b9a1c4d395d64b3fa589b1d8b6f2374f5c03
https://github.com/swissspidy
PHPStan fixhttps://github.com/wp-cli/shell-command/pull/81/commits/d27880fefc64bc182e84033b9f77a4b5a85f3088
d27880fhttps://github.com/wp-cli/shell-command/pull/81/commits/d27880fefc64bc182e84033b9f77a4b5a85f3088
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
cb28ab0https://github.com/wp-cli/shell-command/commit/cb28ab0460b8685e53c9dd1f5fefa1b5bf610915
Mar 10, 2026https://github.com/wp-cli/shell-command/pull/81#event-23444748577
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
March 10, 2026 19:39https://github.com/wp-cli/shell-command/pull/81#event-23444750100
https://github.co/hiddenchars
https://github.com/wp-cli/shell-command/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F81
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/wp-cli/shell-command/pull/81/files/2071c56b453a10f0e832b9a4359378d33af4c4b7
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
https://github.com/apps/gemini-code-assist
gemini-code-assist[bot] https://github.com/apps/gemini-code-assist
https://github.com/wp-cli/shell-command/pull/81/files/2071c56b453a10f0e832b9a4359378d33af4c4b7
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
command:shell https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Acommand%3Ashell
scope:distribution https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Ascope%3Adistribution
2.0.17 https://github.com/wp-cli/shell-command/milestone/23
Shell binary not getting detected correctly? https://github.com/wp-cli/shell-command/issues/66
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/81
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
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.