'An extension can inherit this class, define configured_command and use
the process object by overriding this method and using super():
.. code-block:: python
def _configure(self, qtile):
Superclass._configure(self, qtile)
self.configured_command = "foo --bar"
def run(self):
process = super(Subclass, self).run()'

def run(self):

    if self.configured_command:
        if isinstance(self.configured_command, str):
            self.configured_command = shlex.split(self.configured_command)
    else:
        self.configured_command = self.command
    return Popen(self.configured_command, stdout=PIPE, stdin=PIPE)
