var searchIndex = {}; searchIndex["unshare"] = {"doc":"The `Command` has mostly same API as `std::process::Command` except\nwhere is absolutely needed.","items":[[3,"Command","unshare","",null,null],[3,"Child","","",null,null],[4,"Error","","",null,null],[13,"InvalidPath","","Invalid path somewhere when running command. Presumably has embedded\nnulls.",0,null],[13,"CreatePipe","","Error happened when we were trying to create pipe. The pipes used for\ntwo purposes: (a) for the process's stdio, (b) internally to wake up\nchild process and return error back to the parent.",0,null],[13,"Fork","","Error when forking process",0,null],[11,"new","","Constructs a new `Command` for launching the program at\npath `program`, with the following default configuration:",1,{"inputs":[{"name":"s"}],"output":{"name":"command"}}],[11,"arg","","Add an argument to pass to the program.",1,null],[11,"args","","Add multiple arguments to pass to the program.",1,null],[11,"init_env_map","","",1,null],[11,"env","","Inserts or updates an environment variable mapping.",1,null],[11,"env_remove","","Removes an environment variable mapping.",1,null],[11,"env_clear","","Clears the entire environment map for the child process.",1,null],[11,"current_dir","","Sets the working directory for the child process.",1,null],[11,"stdin","","Configuration for the child process's stdin handle (file descriptor 0).",1,null],[11,"stdout","","Configuration for the child process's stdout handle (file descriptor 1).",1,null],[11,"stderr","","Configuration for the child process's stderr handle (file descriptor 2).",1,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"raw_os_error","","Similarly to `io::Error` returns bare error code",0,null],[11,"description","","",0,null],[11,"fmt","","",0,null],[11,"spawn","","",1,null],[11,"fmt","","",2,null]],"paths":[[4,"Error"],[3,"Command"],[3,"Child"]]}; initSearch(searchIndex);