Skip to content

Commit

Permalink
Use exec to dive into python
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbovbel committed Feb 4, 2020
1 parent 20155b1 commit 1de7c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion catkin_virtualenv/cmake/templates/program.devel.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
${${PROJECT_NAME}_VENV_DEVEL_DIR}/bin/python ${program_path} "$@"
exec ${${PROJECT_NAME}_VENV_DEVEL_DIR}/bin/python ${program_path} "$@"
2 changes: 1 addition & 1 deletion catkin_virtualenv/cmake/templates/program.install.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
${${PROJECT_NAME}_VENV_INSTALL_DIR}/bin/python ${CMAKE_INSTALL_PREFIX}/${program_install_location}/${program_basename} "$@"
exec ${${PROJECT_NAME}_VENV_INSTALL_DIR}/bin/python ${CMAKE_INSTALL_PREFIX}/${program_install_location}/${program_basename} "$@"

0 comments on commit 1de7c27

Please sign in to comment.