Title: Feature request: support ksh under OpenBSD · Issue #43 · wp-cli/shell-command · GitHub
Open Graph Title: Feature request: support ksh under OpenBSD · Issue #43 · wp-cli/shell-command
X Title: Feature request: support ksh under OpenBSD · Issue #43 · wp-cli/shell-command
Description: Feature Request Add support for default shell on OpenBSD (ksh). Describe your use case and the problem you are facing Trying to use wp shell cmd under OpenBSD results in errors and exits prematurely. $ wp shell /bin/ksh: fc: history func...
Open Graph Description: Feature Request Add support for default shell on OpenBSD (ksh). Describe your use case and the problem you are facing Trying to use wp shell cmd under OpenBSD results in errors and exits prematurel...
X Description: Feature Request Add support for default shell on OpenBSD (ksh). Describe your use case and the problem you are facing Trying to use wp shell cmd under OpenBSD results in errors and exits prematurel...
Opengraph URL: https://github.com/wp-cli/shell-command/issues/43
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request: support ksh under OpenBSD","articleBody":"## Feature Request\r\n\r\nAdd support for default shell on OpenBSD (`ksh`).\r\n\r\n**Describe your use case and the problem you are facing**\r\n\r\nTrying to use `wp shell` cmd under OpenBSD results in errors and exits prematurely.\r\n\r\n```\r\n$ wp shell\r\n/bin/ksh: fc: history functions not available\r\n/bin/ksh: read: -e: unknown option\r\n$ echo $?\r\n0\r\n\r\n```\r\n\r\n\r\n```\r\n$ wp cli info\r\nOS: OpenBSD 6.6 GENERIC.MP#584 amd64\r\nShell: /bin/ksh\r\nPHP binary: /usr/local/bin/php-7.3\r\nPHP version: 7.3.13\r\nphp.ini used: /etc/php-7.3.ini\r\nWP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli\r\nWP-CLI vendor dir: phar://wp-cli.phar/vendor\r\nWP_CLI phar path: /var/www/htdocs\r\nWP-CLI packages dir:\r\nWP-CLI global config:\r\nWP-CLI project config:\r\nWP-CLI version: 2.4.0\r\n$ env | grep WP_CLI_CUSTOM_SHELL\r\nWP_CLI_CUSTOM_SHELL=/bin/ksh\r\n```\r\n\r\n**Describe the solution you'd like**\r\n\r\nQuick win:\r\n\r\nAdd some more detection at shell instantiation to detect shell and platform to enable running in `ksh` on OpenBSD. \r\n\r\nNice to have:\r\n\r\nTest in a few different shell/OS environments and modify to run across more - else, fail gracefully when unsupported. \r\n\r\nHappy to work on this","author":{"url":"https://github.com/leonstafford","@type":"Person","name":"leonstafford"},"datePublished":"2020-01-26T12:03:01Z","url":"https://github.com/wp-cli/shell-command/issues/43"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9b745d54-697c-ce03-f28a-880493a92c02 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D1A:27EABE:3CA542A:4FE1572:6AFA23F9 |
| html-safe-nonce | cfb15f81f3b962415a85b35561ffc22e91b69a51bddb26ca7d54a1ffa24651de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDFBOjI3RUFCRTozQ0E1NDJBOjRGRTE1NzI6NkFGQTIzRjkiLCJ2aXNpdG9yX2lkIjoiODg2MDIwMjk1NzE1MzExNzE3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0d9b604f6fb86dd5fd3bc02be0e2e452f13089fdae67a5b21d86453b9b0dd319 |
| hovercard-subject-tag | issue:555218697 |
| 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/wp-cli/shell-command/43/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9008be8dcb4f4ad44c5e48a89193708a83d59a9b5d0dd8055aeae28d3d79b689/wp-cli/shell-command/issues/43 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9008be8dcb4f4ad44c5e48a89193708a83d59a9b5d0dd8055aeae28d3d79b689/wp-cli/shell-command/issues/43 |
| og:image:alt | Feature Request Add support for default shell on OpenBSD (ksh). Describe your use case and the problem you are facing Trying to use wp shell cmd under OpenBSD results in errors and exits prematurel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | leonstafford |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/wp-cli/shell-command git https://github.com/wp-cli/shell-command.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 85307675 |
| octolytics-dimension-repository_nwo | wp-cli/shell-command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 85307675 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/shell-command |
| 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 | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width