Skip to content

Instantly share code, notes, and snippets.

@wjwwood
Created January 27, 2015 21:06
Show Gist options
  • Select an option

  • Save wjwwood/b4a44cedea7a6109ae08 to your computer and use it in GitHub Desktop.

Select an option

Save wjwwood/b4a44cedea7a6109ae08 to your computer and use it in GitHub Desktop.
import os
import subprocess
this_dir = os.path.abspath(os.path.dirname(__file__))
xacro_py_path = os.path.join(this_dir, '..', 'xacro.py')
subprocess.call([xacro_py_path, 'arg1', 'arg2'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment