pub async fn spawn_process_no_stdin(
program: &str,
args: &[String],
cwd: &Path,
env: &HashMap<String, String>,
arg0: Option<&str>,
) -> Result<SpawnedProcess>Expand description
Spawn a process using regular pipes, but close stdin immediately.
This is useful for commands that should see EOF on stdin immediately.
Borrowed inputs and Unix arg0 have the same semantics as spawn_process.
ยงErrors
Returns launch or pipe setup failures with process context.