Rosettea / Hilbish

🌓 The Moon-powered shell! A comfy and extensible shell for Lua fans! 🌺 ✨
https://rosettea.github.io/Hilbish/
MIT License
505 stars 22 forks source link

`exec` apparently does not replace current process. #318

Closed mbekkomo closed 2 months ago

mbekkomo commented 2 months ago

The command exec doesn't replace the current process, instead it creates a new process.

> exec bash

[komo@catputer:~]$ exit
exit
> hilbish.exec"bash"

[komo@catputer:~]$ exit
exit