Skip to main content

wrapper_script_posix

Function wrapper_script_posix 

Source
pub fn wrapper_script_posix(input: &WrapperInput<'_>) -> String
Expand description

The bash tab wrapper. It writes tui-pid ($$:<boot_id>:<starttime>, no newline) at its start and tui-exited (epoch ms) from its EXIT trap, both under a umask 077 subshell so the sentinels are 0600 without changing the umask opencode runs under.