Local and remote system commands with output and error capture.