Implemented subprocesses for all commands to get around Salt's blocking nature.