failing to detect xonsh shell because of `python` process name prefix.
See original GitHub issueI’m having issues with xonsh
on arch linux 5.5.0.
Shellingham fails to detect the xonsh
process as it comes with a python
prefix as it’s a python program:
$ ps -ww -o "pid=" -o "ppid=" -o "args="
1633 1624 python /usr/bin/xonsh
I’ve investigated shellingham
’s code and it seems like the first argument is taken to determine the shell process which in this case is python
, where the second argument is the correct one in this case (/usr/bin/xonsh
).
It seems that python
prefix here is unatural but I can’t debug why my machine persists on attaching it. Might be an issue with . Thus I’m not sure whether upstream changes are warranted.qtile
environment
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Tutorial - xonsh 0.13.4 documentation
xonsh is a shell language and command prompt. Unlike other shells, xonsh is based on Python, with additional syntax added that makes calling...
Read more >should there be an alternative to env vars for configuring ...
While reviewing PR #495 I saw yet another environment variable being introduced to control how xonsh behaves. This bothers me.
Read more >Xonsh: Bringing Python Data Science to your Shell - YouTube
Xonsh is an interactive, cross-platform Python /Unix Shell hybrid language that makes it easy to switch between Python operations and command ...
Read more >Using xonsh as python shell - Emacs Stack Exchange
I suggest you use for interactive xonsh sessions shell-mode instead. ... in Emacs set explicit-shell-file-name to your xonsh executable.
Read more >anaconda - Conda activate not working? - Stack Overflow
Did you check your env folder? Mine was empty because i didnt provide a python version. If its empty gets activated but theres...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is probably because I have python-setproctitle installed, and xonsh avoids saying dependencies are actually required (I’m not sure why) so this can be silently ignored.
https://github.com/xonsh/xonsh/pull/654
Released as 1.3.2. Thanks for the help!