def Exec(self, command):
    if isinstance(command, str):
      command = ['/bin/sh', '-c', command]
    return (lambda: os.execlp(command[0], *command))
Returns a lambda that will execute the given command.
dataset/ETHPy150Open liquidgecka/twitcher/twitcher/config.py/_NamespaceConfig.Exec