Codebase list ros-catkin / 0baff3a
fix test when using different Python version (#1028) Dirk Thomas authored 4 years ago GitHub committed 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
144144 cmi = os.path.join(os.path.dirname(__file__), '..', '..', 'bin', 'catkin_make_isolated')
145145 environ['CMAKE_PREFIX_PATH'] = os.path.join(ws_dir, 'install')
146146 environ['PWD'] = src_dir
147 subprocess.check_output(' '.join([cmi, '-C', '..']), cwd=src_dir, env=environ, shell=True)
147 subprocess.check_output(' '.join([sys.executable, cmi, '-C', '..']), cwd=src_dir, env=environ, shell=True)
148148 except Exception as e:
149149 error_msg = str(e)
150150 finally: