ob-async
ob-async copied to clipboard
Feature: Ability to interact with running process
Today I found myself running a script with this wonderful package.
Inside the script, there 's a line
byebug; # debugger
and when execution hits that line, it's REPL should appear in my emacs. When I hit c (for continue in byebug), the execution should resume.
Am I asking too much of this package?
I'm open to this in theory, provided it doesn't add too much complexity to the implementation, but I have neither the time nor motivation to take it on right now.
For anyone who does want to look into it: ob-async
uses emacs-async
under the hood to run the src block in a background process. Unfortunately, I don't see any function in the async API which would allow for interacting with a process before it completes.