Runs the appropriate command

def run(self, cmd):
        """Runs the appropriate command"""
        print datetime.datetime.now()
        output = subprocess.Popen(cmd, shell=True)
        output = output.communicate()[0]
        print output