Skip to content

Commit

Permalink
docs: Move from subprocess.call to subprocess.run (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian authored Apr 22, 2024
1 parent 4b2fd51 commit 22faa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/python/examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 22faa27

Please sign in to comment.