run_script 0.1.3

Run shell scripts in rust.
Documentation
1
2
3
var searchIndex = {};
searchIndex["run_script"] = {"doc":"run_script","items":[[5,"run","run_script","Invokes the provided script content and returns the invocation output.",null,{"inputs":[{"name":"str"},{"name":"vec"},{"name":"scriptoptions"}],"output":{"name":"result"}}],[0,"types","","types",null,null],[3,"ScriptError","run_script::types","Error struct",null,null],[12,"info","","Holds the error information",0,null],[3,"ScriptOptions","","Options available for invoking the script",null,null],[12,"runner","","Defines the requested runner (defaults to cmd in windows and sh for other platforms)",1,null],[12,"capture_output","","Defines if to print the output to the parent process, or capture and return the output (default)",1,null],[12,"exit_on_error","","Sets the -e flag in the script to exit on any command error found inside the script (not available for windows)",1,null],[12,"print_commands","","Sets the -x flag in the script to print each script command before invocation (not available for windows)",1,null],[4,"ErrorInfo","","Holds the error information",null,null],[13,"IOError","","Root error",2,null],[13,"Description","","Description text of the error reason",2,null],[11,"fmt","","",2,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"fmt","","",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"description","","A short description of the error.",0,{"inputs":[{"name":"self"}],"output":{"name":"str"}}],[11,"cause","","The lower-level cause of this error, if any.",0,{"inputs":[{"name":"self"}],"output":{"name":"option"}}],[11,"fmt","","Formats the value using the given formatter.",0,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"fmt","","",1,{"inputs":[{"name":"self"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"clone","","",1,{"inputs":[{"name":"self"}],"output":{"name":"scriptoptions"}}],[11,"eq","","",1,{"inputs":[{"name":"self"},{"name":"scriptoptions"}],"output":{"name":"bool"}}],[11,"ne","","",1,{"inputs":[{"name":"self"},{"name":"scriptoptions"}],"output":{"name":"bool"}}],[11,"new","","Returns new instance",1,{"inputs":[],"output":{"name":"scriptoptions"}}],[6,"ScriptError","run_script","Error struct",null,null],[6,"ScriptOptions","","Options available for invoking the script",null,null]],"paths":[[3,"ScriptError"],[3,"ScriptOptions"],[4,"ErrorInfo"]]};
initSearch(searchIndex);