-
Notifications
You must be signed in to change notification settings - Fork 181
Commands fail after installing and launching xonsh #1001
Copy link
Copy link
Open
Description
xonsh is a Python-powered shell. I installed it via pip in a-Shell on iPad, and it installs and starts successfully. However, once inside xonsh, running any command such as ls immediately fails.
The error I get is:
Fatal Python error: PyMutex_Unlock: unlocking mutex that is not locked
Python runtime state: initialized
Traceback (most recent call last):
File "/var/mobile/Containers/Data/Application/249E10F6-268D-440D-8856-1F4A2796B5AB/Library/lib/python3.13/site-packages/xonsh/procs/specs.py", line 292, in no_pg_xonsh_preexec_fn
os.setpgrp()
^^^^^^^^^^
AttributeError: module 'os' has no attribute 'setpgrp'. Did you mean: 'getpgrp'?
It looks like os.setpgrp() is unavailable in a-Shell’s Python environment on iPadOS. Is this a fundamental platform limitation, or could a compatibility fix be possible?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels