def __init__(self, command):
        """
        Define a new process but do not start it.

        :param command: A command to start. Parameters separated with spaces
         or as a list, e.g. "command arg1 arg2" or ["command", "arg1", "arg2"].
        """
        if type(command == list):
            self.command = command
        else:
            self.command = command.split(" ")

        self.proc = None
def __init__ ( self , command ) : if type ( command == list ) : self . command = command else : self . command = command . split ( " " ) self . proc = None
Define a new process but do not start it.

        :param command: A command to start. Parameters separated with spaces
         or as a list, e.g. "command arg1 arg2" or ["command", "arg1", "arg2"].