hi, rn i write my own text editor & copy features from other text editors,
one feature which i'm trying to copy is vim :py python sessions
try:
:py a=21
:py print(a)
it outputs:
21
if it keeps track of variables, it must have python running somewhere in a backgroud.
first i thought it forks python process, but running:
pstree <vim pid>
reveals that it does not have any children processes
vim───{vim}
so how do it do that?