Observations from initial testing of ob-session-async-shell.el
:
- Didn’t work with zsh
- Worked with bash and sh
- #+RESULTS contains input commands that it shouldn’t, as well as the
command printing the end-indicator, for example see the below code
block and its #+RESULTS:
sleep 1 echo foo
sleep 1 echo foo foo printf 'ob_comint_async_sh_end_46f2cf20d1485af62ac59844b6bdf734'
- Prompt in
*shell*
buffer does not get changed back to its original value after evaluation. Here is the contents of my*shell*
buffer after evaluating the above code block:PS1=$'\n46f2cf20d1485af62ac59844b6bdf734>' PS1=$'\n46f2cf20d1485af62ac59844b6bdf734>' 46f2cf20d1485af62ac59844b6bdf734>PS2=$'\n46f2cf20d1485af62ac59844b6bdf734>' PS2=$'\n46f2cf20d1485af62ac59844b6bdf734>' 46f2cf20d1485af62ac59844b6bdf734>printf 'ob_comint_async_sh_start_46f2cf20d1485af62ac59844b6bdf734' printf 'ob_comint_async_sh_start_46f2cf20d1485af62ac59844b6bdf734' ob_comint_async_sh_start_46f2cf20d1485af62ac59844b6bdf734 46f2cf20d1485af62ac59844b6bdf734>sleep 1 sleep 1 46f2cf20d1485af62ac59844b6bdf734>echo foo echo foo foo 46f2cf20d1485af62ac59844b6bdf734>printf 'ob_comint_async_sh_end_46f2cf20d1485af62ac59844b6bdf734' printf 'ob_comint_async_sh_end_46f2cf20d1485af62ac59844b6bdf734' ob_comint_async_sh_end_46f2cf20d1485af62ac59844b6bdf734 46f2cf20d1485af62ac59844b6bdf734>