Open Beethoven-n opened 7 months ago
This should be fixed by #515.
can you reproduce the crash on your branch?
I reproduced it on the main branch, whereas on the patched branch joshuto displays the exit code of the shell and keeps going instead of crashing.
with the merge, it's fixed! bit of a note though, now it displays the exit code of the program. might have to fix that on my end for my use case but it sounds useful for pretty much every other case
this is hard to explain conversationally so i'll try laying it out
What's the bug?
If I run
:shell zsh
to start a shell session wherever I'm at, then do certain commands, I get this error:It's testable with
sudo -s
, but I noticed it happening withlessc
, so it can't just be involved with sudo.How do I replicate it?
:shell <whatever shell you like>
sudo -s
, then hit Ctrl-D twice to exit out of both the root shell and the shell joshuto spawnedContext
Linux version: 6.8.2-arch2-1
joshuto --version
output:AUR package version: r1343.a103c88-1 Cargo version: 1.77.1