pub fn calling_shell(chain: &[Proc]) -> Option<&Proc>Expand description
The shell that ran the process whose ancestors are chain: past any
wrappers, the outermost of the shells nested directly above it, so a
script that starts a fresh sh -c per line is still one shell. None
when a program other than a shell ran it.