Skip to content

Commit

Permalink
Use string with spaces for subprocess command
Browse files Browse the repository at this point in the history
  • Loading branch information
scpeters committed Apr 28, 2014
1 parent 948eb7d commit 90f56a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/catkin/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def isolation_print_command(cmd, path=None, add_env=None):
def get_multiarch(build_dir):
# this function returns the suffix for lib directories on supported systems or an empty string
out, err = subprocess.Popen(
['dpkg-architecture', '-qDEB_HOST_MULTIARCH'],
'dpkg-architecture -qDEB_HOST_MULTIARCH',
stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).communicate()
return out

Expand Down

0 comments on commit 90f56a4

Please sign in to comment.