Skip to content

Commit c08417b

Browse files
authored
FIX: Subprocess call doesn't accept check (#6418)
1 parent 3a82c7b commit c08417b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/changelog.d/6418.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subprocess call doesn't accept check

doc/source/Resources/pyaedt_installer_from_aedt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def install_pyaedt():
285285

286286
else:
287287
print("Using existing virtual environment in {}".format(venv_dir))
288-
subprocess.call([str(pip_exe), "uninstall", "-y", "pyaedt"], check=True) # nosec
288+
subprocess.call([str(pip_exe), "uninstall", "-y", "pyaedt"]) # nosec
289289

290290
if args.wheel and Path(args.wheel).exists():
291291
print("Installing PyAEDT using provided wheels argument")

0 commit comments

Comments
 (0)