Commands fail after installing and launching xonsh
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.