tasks.py
def call_in_sequence(self, cmds, shell=True):
        """Run multiple commmands in a row, exiting if one fails."""
        for cmd in cmds:
            if subprocess.call(cmd, shell=shell) == 1:
                sys.exit(1)
def call_in_sequence(self, cmds, shell=True):
        for cmd in cmds:
            if subprocess.call(cmd, shell=shell) == 1:
                sys.exit(1)
def call_in_sequence ( self , cmds , shell = True ) : for cmd in cmds : if subprocess . call ( cmd , shell = shell ) == 1 : sys . exit ( 1 )
Run multiple commmands in a row, exiting if one fails.
Run multiple commmands in a row exiting if one fails .