pub fn materialize(spec: &SpawnSpec) -> Result<(String, PathBuf)>
Write spec to a 0600 tempfile in the system temp dir and return (shell_line, spec_path). shell_line is safe to hand to any launcher.
spec
(shell_line, spec_path)
shell_line