GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — subprocess.SubprocessError: Exception occurred in preexec_fn. · Issue #6532 · RustPython/RustPython

subprocess.SubprocessError: Exception occurred in preexec_fn. #6532

New issue
Copy link
New issue
Copy link
Open
Open
subprocess.SubprocessError: Exception occurred in preexec_fn.#6532
Copy link

Description

@anki-code
anki-code
opened on Dec 25, 2025
Issue body actions

Hi! After latest fixes xonsh is working more and more stable so I've mentioned RustPython in xonsh README, thanks!

rc.xsh:

@aliases.register
def _als():
    $(echo)
rustpython -V
# Python 3.13.0alpha (heads/master:40acd5529

~/.local/bin/rust-xonsh --rc rc.xsh
als
Traceback (most recent call last):
  File "/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/pipelines.py", line 177, in __init__
    proc = spec.run(pipeline_group=pipeline_group)
  File "/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/specs.py", line 528, in run
    p = self._run_binary(kwargs)
  File "/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/specs.py", line 585, in _run_binary
    raise xt.XonshError(e) from ex
  File "/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/procs/specs.py", line 546, in _run_binary
    p = self.cls(cmd, bufsize=bufsize, **kwargs)
  File "/Users/pc/.cargo/git/checkouts/rustpython-63090cdce5e18442/40acd55/crates/pylib/Lib/subprocess.py", line 1062, in __init__
    raise
  File "/Users/pc/.cargo/git/checkouts/rustpython-63090cdce5e18442/40acd55/crates/pylib/Lib/subprocess.py", line 1034, in __init__
    start_new_session, process_group)
  File "/Users/pc/.cargo/git/checkouts/rustpython-63090cdce5e18442/40acd55/crates/pylib/Lib/subprocess.py", line 1958, in _execute_child
    raise child_exception_type(err_msg)
subprocess.SubprocessError: Exception occurred in preexec_fn.

Here p = self.cls is subprocess.Popen by default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.