pub async fn spawn_process_no_stdin(
program: &str,
args: &[String],
cwd: &Path,
env: &HashMap<String, String>,
arg0: &Option<String>,
) -> 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.