Orca75

Results 1 comments of Orca75

I did it like this: ``` node_type="podman" if client.containers.client.user_agent.startswith("Podman") else "docker" command=f"{node_type} exec -it {client.containers.name} sh -c {cmd}" output='' with subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) as process: for line in process.stdout:...