Skip to main content

cmdsubst_outer_stdout

Function cmdsubst_outer_stdout 

Source
pub fn cmdsubst_outer_stdout() -> Option<i32>
Expand description

Saved outer stdout fd for an in-progress $(...) capture (top of the bridge’s CMDSUBST_OUTER_FDS stack), or None when not inside a cmdsub. Used by the trap dispatcher to route a trap body’s stdout to the parent terminal instead of the cmdsub-bound pipe (Bug #56).