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",