Skip to content

Commit bf12f11

Browse files
committed
ruff lint
1 parent 90bc00b commit bf12f11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qbpm/operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def launch(
3939
return False
4040

4141
if foreground:
42-
return subprocess.run(args).returncode == 0
42+
return subprocess.run(args, check=False).returncode == 0
4343
else:
4444
p = subprocess.Popen(args, stdout=subprocess.DEVNULL, stderr=subprocess.PIPE)
4545
try:
@@ -88,6 +88,7 @@ def choose(
8888
shell=True,
8989
stdout=subprocess.PIPE,
9090
stderr=None,
91+
check=False,
9192
)
9293
out = selection_cmd.stdout
9394
selection = out and out.read().decode(errors="ignore").rstrip("\n")

0 commit comments

Comments
 (0)