cursesmenu/items/command_item.py
def action(self):
        """
        This class overrides this method
        """
        commandline = "{0} {1}".format(self.command, " ".join(self.arguments))
        try:
            completed_process = subprocess.run(commandline, shell=True)
            self.exit_status = completed_process.returncode
        except AttributeError:
            self.exit_status = subprocess.call(commandline, shell=True)
def action(self):
        """
        This class overrides this method
        """
        commandline = "{0} {1}".format(self.command, " ".join(self.arguments))
        try:
            completed_process = subprocess.run(commandline, shell=True)
            self.exit_status = completed_process.returncode
        except AttributeError:
            self.exit_status = subprocess.call(commandline, shell=True)
def action ( self ) : commandline = "{0} {1}" . format ( self . command , " " . join ( self . arguments ) ) try : completed_process = subprocess . run ( commandline , shell = True ) self . exit_status = completed_process . returncode except AttributeError : self . exit_status = subprocess . call ( commandline , shell = True )
This class overrides this method
This class overrides this method