pub fn execode(
program: &ZshProgram,
_dont_change_job: i32,
_exiting: i32,
context: &str,
) -> i32Expand description
Port of execode() from Src/exec.c:1245 — C decl execode(Eprog p, int dont_change_job, int exiting, char *context). DIVERGENCE: this entry drives the fusevm pipeline over a ZshProgram; the faithful wordcode walker is execode_wordcode (exec.rs:8338).
zshrs execode — run an already-parsed ZshProgram (Src/exec.c:1245
execode(prog, ...), called from loop()). This is the exec.rs
exception to the line-by-line port: rather than walk wordcode via
execlist, it drives zshrs’s live engine — compile the program with
compile_zsh and run it on the session executor’s fusevm VM. The
faithful loop() in init.rs calls this exactly as C calls execode.
Returns $? (0 when no session executor is installed).