Skip to content

Commit

Permalink
Merge pull request #26 from JopaXd/fix
Browse files Browse the repository at this point in the history
Changed subprocess.run command in launch_ui function
  • Loading branch information
LukasMasuch committed May 1, 2021
2 parents b0fc648 + 4579995 commit 5a61a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opyrator/ui/streamlit_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def launch_ui(opyrator_path: str, port: int = 8501) -> None:
python_path = f"set PYTHONPATH=%PYTHONPATH%;{getcwd()} &&"

subprocess.run(
f"{python_path} {sys.executable} -m streamlit run --server.port={port} --server.headless=True --runner.magicEnabled=False --server.maxUploadSize=50 --browser.gatherUsageStats=False {f.name}",
f'''{python_path} "{sys.executable}" -m streamlit run --server.port={port} --server.headless=True --runner.magicEnabled=False --server.maxUploadSize=50 --browser.gatherUsageStats=False {f.name}''',
shell=True,
)

Expand Down

0 comments on commit 5a61a20

Please sign in to comment.