Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed subprocess.run command in launch_ui function #26

Merged
merged 1 commit into from
May 1, 2021

Conversation

JopaXd
Copy link
Contributor

@JopaXd JopaXd commented Apr 30, 2021

What kind of change does this PR introduce?

  • Bugfix
  • New Feature
  • Feature Improvement
  • Refactoring
  • Documentation
  • Other, please describe:

Description:
I made a change in the subprocess.run command in the launch_ui function. Sys.executable is now in quotes so that it can work with paths that contain spaces. I ran "opyrator launch-ui main:hello_world", main being the file and hello_world being the function on my Windows 10 machine and I get the error "C:/Program is not recognized as an internal or external command, operable program or batch file" since my python installation is located under C:/Program Files/Python39. This PR fixes that issue.

Checklist:

  • I have read the CONTRIBUTING document.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@LukasMasuch
Copy link
Contributor

@JopaXd Thanks for the fix :) Looks good!

@LukasMasuch LukasMasuch merged commit 5a61a20 into ml-tooling:main May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants