Title: subprocess.SubprocessError: Exception occurred in preexec_fn. · Issue #6489 · RustPython/RustPython · GitHub
Open Graph Title: subprocess.SubprocessError: Exception occurred in preexec_fn. · Issue #6489 · RustPython/RustPython
X Title: subprocess.SubprocessError: Exception occurred in preexec_fn. · Issue #6489 · RustPython/RustPython
Description: Hello! I'm trying to run xonsh shell using rustpython on Mac but faced with error: xonsh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # https://rustup.rs/ # restart shell cargo install --features=ssl --git https://githu...
Open Graph Description: Hello! I'm trying to run xonsh shell using rustpython on Mac but faced with error: xonsh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # https://rustup.rs/ # restart shell cargo in...
X Description: Hello! I'm trying to run xonsh shell using rustpython on Mac but faced with error: xonsh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # https://rustup.rs/ # restart sh...
Opengraph URL: https://github.com/RustPython/RustPython/issues/6489
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"subprocess.SubprocessError: Exception occurred in preexec_fn.","articleBody":"Hello! I'm trying to run xonsh shell using rustpython on Mac but faced with error:\n\n```xsh\nxonsh\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # https://rustup.rs/\n# restart shell\ncargo install --features=ssl --git https://github.com/RustPython/RustPython rustpython\n$PATH.append(p'~/.cargo/bin')\n#rustpython -m site # to get locations\nrustpython --install-pip\nrustpython -m pip install xonsh \n```\nNote! No prompt-toolkit as workaround https://github.com/RustPython/RustPython/issues/6487\n```xsh\n~/.local/bin/xonsh --no-rc --no-env\n# Skipping setup. Because no `readline` implementation available.\n$XONSH_SHOW_TRACEBACK = True\nls\n```\nResult:\n```xsh\nxonsh: To log full traceback to a file set: $XONSH_TRACEBACK_LOGFILE = \u003cfilename\u003e\nTraceback (most recent call last):\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/pipelines.py\", line 177, in __init__\n proc = spec.run(pipeline_group=pipeline_group)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/specs.py\", line 528, in run\n p = self._run_binary(kwargs)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/specs.py\", line 585, in _run_binary\n raise xt.XonshError(e) from ex\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/specs.py\", line 546, in _run_binary\n p = self.cls(cmd, bufsize=bufsize, **kwargs)\n File \"/Users/pc/.cargo/git/checkouts/rustpython-63090cdce5e18442/7c3bc5e/crates/pylib/Lib/subprocess.py\", line 1062, in __init__\n raise\n File \"/Users/pc/.cargo/git/checkouts/rustpython-63090cdce5e18442/7c3bc5e/crates/pylib/Lib/subprocess.py\", line 1034, in __init__\n start_new_session, process_group)\n File \"/Users/pc/.cargo/git/checkouts/rustpython-63090cdce5e18442/7c3bc5e/crates/pylib/Lib/subprocess.py\", line 1958, in _execute_child\n raise child_exception_type(err_msg)\nsubprocess.SubprocessError: Exception occurred in preexec_fn.\n```\n\n## For community\n⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍 comment**","author":{"url":"https://github.com/anki-code","@type":"Person","name":"anki-code"},"datePublished":"2025-12-24T13:50:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/6489/RustPython/issues/6489"}
| 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:e3242d47-1d74-a811-d0a8-89b47b39ff39 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFDE:323DD4:1E2A1E8:295DFBC:696AC0B2 |
| html-safe-nonce | d599a61260d98acc85aed0e59b2c3f8b6a5614c1ac92ac4efc7348e8c26fedeb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkRFOjMyM0RENDoxRTJBMUU4OjI5NURGQkM6Njk2QUMwQjIiLCJ2aXNpdG9yX2lkIjoiNzg5MDU0NjgxNjcxOTc1MDkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1df1e18e2efc86f7570d45d1d5eb086fb42e381010e3b57f7ee08a8694f8209b |
| hovercard-subject-tag | issue:3760375716 |
| 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/RustPython/RustPython/6489/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2de721ae34df3985833f33e19750def1263598c8fe9d03fa22a49beb34e7cb1b/RustPython/RustPython/issues/6489 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2de721ae34df3985833f33e19750def1263598c8fe9d03fa22a49beb34e7cb1b/RustPython/RustPython/issues/6489 |
| og:image:alt | Hello! I'm trying to run xonsh shell using rustpython on Mac but faced with error: xonsh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # https://rustup.rs/ # restart shell cargo in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anki-code |
| hostname | github.com |
| expected-hostname | github.com |
| None | 986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width