Re: [O] long running processes

2015-11-19 Thread Tom
Unfortunately, changing from the current synchronous to asynchronous processing probably requires changes to the API that would require changes to every existing language mode. A better way forward may simply be to implement a new block type and then let people gradually convert their language

Re: [O] long running processes

2015-11-19 Thread John Kitchin
Your suggestions sounds possible to me. If you are up for it, I suggest trying to implement it, and offering it as a patch. Tom writes: > On Wed, Nov 18, 2015 at 2:55 PM, John Kitchin > wrote: > >> I am pretty sure this is not directly possible right now. >> >> Some

[O] long running processes

2015-11-18 Thread Tom
When I run Python code in a session from Org mode and the execution takes a while, the cursor changes to a wait cursor. In addition, the session window doesn't display any intermediate output until the execution has finished. Is there any way of changing this behavior? I would like to start

Re: [O] long running processes

2015-11-18 Thread John Kitchin
I am pretty sure this is not directly possible right now. Some approaches that resemble it could be: 1. write a src block that will be tangled to a script. 2. tangle the block 3. Run the script in a shell src block with an & so it runs non-blocking. or, use an elisp block like:

Re: [O] long running processes

2015-11-18 Thread Tom
On Wed, Nov 18, 2015 at 2:55 PM, John Kitchin wrote: > I am pretty sure this is not directly possible right now. > > Some approaches that resemble it could be: > 1. write a src block that will be tangled to a script. > 2. tangle the block > 3. Run the script in a shell