Join Nostr
2026-01-05 15:35:50 UTC

Ethan Blanton on Nostr: OK #Emacs people, time to #AskFedi about an #elisp API thing: I'm running async ...

OK #Emacs people, time to #AskFedi about an #elisp API thing:

I'm running async external processes, and I want to trigger callbacks when they finish (successful or otherwise). I'm currently using process sentinels, but ... this interface is terrible! The process result is a string that _isn't even well-defined?_ Surely there has to be a better way!

What is that better way? (I see that eshell uses those same strings, so I'm not hopeful...)