ob-async icon indicating copy to clipboard operation
ob-async copied to clipboard

Feature: Ability to interact with running process

Open oystersauce8 opened this issue 6 years ago • 1 comments

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?

oystersauce8 avatar Jun 19 '18 19:06 oystersauce8

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.

astahlman avatar Jun 22 '18 13:06 astahlman