Skip to main content

Module shell

Module shell 

Source

Functions§

enter_interactive_shell
进入交互式 shell 子进程
execute_shell_command
执行 shell 命令(交互模式下 ! 前缀触发)
expand_env_vars
展开字符串中的环境变量引用(支持 $VAR 和 ${VAR} 格式)
inject_envs_to_process
将所有别名路径注入为当前进程的环境变量