[core] Add method to check if command succeed
Something like:
if(Cmd.done("some_cmd.sh")) {
}
if(Cmd.fails("some_failing_cmd.sh")) {
}
These methods will return boolean, so it is just to know if a command was successful or not.
Something like:
if(Cmd.done("some_cmd.sh")) {
}
if(Cmd.fails("some_failing_cmd.sh")) {
}
These methods will return boolean, so it is just to know if a command was successful or not.