From bc65f54c6c71fd1e0a2d6ad8cdb84ce392d36aa9 Mon Sep 17 00:00:00 2001 From: Hofer-Julian Date: Mon, 22 Apr 2024 14:15:03 +0200 Subject: [PATCH] docs: Move from `subprocess.call` to `subprocess.run` --- docs/python/examples.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/python/examples.ipynb b/docs/python/examples.ipynb index cffa85d05..6fd9aa156 100644 --- a/docs/python/examples.ipynb +++ b/docs/python/examples.ipynb @@ -394,7 +394,7 @@ "\n", "```python\n", "import subprocess\n", - "subprocess.call([cli_path, toml_path], check=True)\n", + "subprocess.run([cli_path, toml_path], check=True)\n", "```\n", "\n", "Windows users should note that if you put the `ribasim_cli` folder in your Path, `cli_path` needs to have the cmd suffix; `ribasim.cmd`.\n",