engstrand-config / dwl-guile

Dynamic tiling Wayland compositor configurable in Guile Scheme, based on dwl and libguile - now with a REPL!
Other
97 stars 5 forks source link

Evaluate Guile expressions in a separate thread #23

Closed Frewacom closed 1 year ago

Frewacom commented 2 years ago

Currently, it is possible to crash dwl-guile when expressions for e.g. keybindings spawn child processes. The current workaround is to use the dwl:shcmd binding. However, we should make sure that no expression is able to crash dwl-guile.

Frewacom commented 1 year ago

I reverted the change that executed actions in new threads since that introduced quite significant delays. Evaluations using dwl-guile -e "<exp" will still be executed in a new thread though.