Function is_subprocess

Source
pub fn is_subprocess() -> bool
Expand 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.