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

add python prefix for python scripts when there is no .py extension #1589

Merged
merged 4 commits into from
Feb 6, 2019
Merged

add python prefix for python scripts when there is no .py extension #1589

merged 4 commits into from
Feb 6, 2019

Conversation

kejxu
Copy link
Contributor

@kejxu kejxu commented Jan 23, 2019

similar to ros/ros#197, a lot of python scripts don't have the .py extension. To work around this on Windows, add python prefix in order to execute/launch these python scripts

@kejxu
Copy link
Contributor Author

kejxu commented Jan 23, 2019

this change is only scoped to Windows platform, not related to the test fail on ubuntu 18.04

@dirk-thomas
Copy link
Member

Thanks for the patch.

@dirk-thomas dirk-thomas merged commit 63989da into ros:melodic-devel Feb 6, 2019
@kejxu kejxu deleted the add_python_prefix_in_roslaunch branch February 6, 2019 21:12
tahsinkose pushed a commit to tahsinkose/ros_comm that referenced this pull request Apr 15, 2019
…os#1589)

* add python prefix for python script when there is no .py extension

* consolidate and minimize change to existing code

* update comment

* revert unnecessary change from sys.platform to os.name
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.

2 participants