diff --git a/install-poetry.py b/install-poetry.py index 4b47d82..c532a93 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -516,10 +516,11 @@ class Installer: env_path = self._data_dir.joinpath("venv") with temporary_directory() as tmp_dir: - subprocess.call( + subprocess.run( [sys.executable, "-m", "pip", "install", "virtualenv", "-t", tmp_dir], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + check=True, ) sys.path.insert(0, tmp_dir)