emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ob-shell and remote shells


From: Michael Welle
Subject: Re: [O] ob-shell and remote shells
Date: Wed, 29 Nov 2017 08:13:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3.50 (gnu/linux)

Hello,


"address@hidden" <address@hidden> writes:

> Off the topic, I'm curious what is the `:session` in `ob-shell` ?
it basically means that state is preserved for code blocks that run in
the same session (as long as the interpreter is running). Or in other
words, imagine two code blocks: the first sets a variable, the second
prints the variable. Without sessions the code blocks run in different
shell instances and the second block doesn't 'see' the variable set by
the first code block. But if both run in the same session, the second
code block 'sees' the state left by the first code block.

Regard
hmw



reply via email to

[Prev in Thread] Current Thread [Next in Thread]