RET504: fix

This commit is contained in:
Jörg Thalheim
2025-08-26 15:25:38 +02:00
parent fb2fe36c87
commit d5b09f18ed
27 changed files with 42 additions and 95 deletions

View File

@@ -324,14 +324,13 @@ class Machine:
# Always run command with shell opts
command = f"set -eo pipefail; source /etc/profile; set -xu; {command}"
proc = subprocess.run(
return subprocess.run(
self.nsenter_command(command),
timeout=timeout,
check=False,
stdout=subprocess.PIPE,
text=True,
)
return proc
def nested(
self,