run_script 0.2.5

Run shell scripts in rust.
Documentation
1
2
3
var N = null;var searchIndex = {};
searchIndex["run_script"]={"doc":"run_script","items":[[5,"run","run_script","Invokes the provided script content and returns the…",N,[[["str"],["vec"],["scriptoptions"]],["result",["scripterror"]]]],[0,"types","","types",N,N],[3,"ScriptError","run_script::types","Error struct",N,N],[12,"info","","Holds the error information",0,N],[3,"ScriptOptions","","Options available for invoking the script",N,N],[12,"runner","","Defines the requested runner (defaults to cmd in windows…",1,N],[12,"capture_output","","False to print the output to the parent process, or…",1,N],[12,"exit_on_error","","Sets -e flag. Will exit on any error while running the…",1,N],[12,"print_commands","","Sets -x flag for printing each script command before…",1,N],[4,"ErrorInfo","","Holds the error information",N,N],[13,"IOError","","Root error",2,N],[13,"Description","","Description text of the error reason",2,N],[11,"new","","Returns new instance",1,[[],["scriptoptions"]]],[6,"ScriptError","run_script","Error struct",N,N],[6,"ScriptOptions","","Options available for invoking the script",N,N],[14,"run_script","","Enables to invoke the run_script::run function more easily…",N,N],[11,"to_string","run_script::types","",0,[[["self"]],["string"]]],[11,"from","","",0,[[["t"]],["t"]]],[11,"into","","",0,[[["self"]],["u"]]],[11,"try_from","","",0,[[["u"]],["result"]]],[11,"borrow","","",0,[[["self"]],["t"]]],[11,"borrow_mut","","",0,[[["self"]],["t"]]],[11,"try_into","","",0,[[["self"]],["result"]]],[11,"get_type_id","","",0,[[["self"]],["typeid"]]],[11,"from","","",1,[[["t"]],["t"]]],[11,"into","","",1,[[["self"]],["u"]]],[11,"to_owned","","",1,[[["self"]],["t"]]],[11,"clone_into","","",1,N],[11,"try_from","","",1,[[["u"]],["result"]]],[11,"borrow","","",1,[[["self"]],["t"]]],[11,"borrow_mut","","",1,[[["self"]],["t"]]],[11,"try_into","","",1,[[["self"]],["result"]]],[11,"get_type_id","","",1,[[["self"]],["typeid"]]],[11,"from","","",2,[[["t"]],["t"]]],[11,"into","","",2,[[["self"]],["u"]]],[11,"try_from","","",2,[[["u"]],["result"]]],[11,"borrow","","",2,[[["self"]],["t"]]],[11,"borrow_mut","","",2,[[["self"]],["t"]]],[11,"try_into","","",2,[[["self"]],["result"]]],[11,"get_type_id","","",2,[[["self"]],["typeid"]]],[11,"eq","","",1,[[["self"],["scriptoptions"]],["bool"]]],[11,"ne","","",1,[[["self"],["scriptoptions"]],["bool"]]],[11,"clone","","",1,[[["self"]],["scriptoptions"]]],[11,"fmt","","",2,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",0,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",1,[[["self"],["formatter"]],["result"]]],[11,"fmt","","Formats the value using the given formatter.",0,[[["self"],["formatter"]],["result",["error"]]]],[11,"description","","A short description of the error.",0,[[["self"]],["str"]]],[11,"cause","","The lower-level cause of this error, if any.",0,[[["self"]],["option",["error"]]]]],"paths":[[3,"ScriptError"],[3,"ScriptOptions"],[4,"ErrorInfo"]]};
initSearch(searchIndex);addSearchOptions(searchIndex);