pub fn is_subprocess() -> boolExpand description
Check if current process is a subprocess
This function is used to check if the current process is a subprocess.
Note that if the current process is a subprocess, it will block until the subprocess exits.