Commit ee8f3249 authored by Antoine Catton's avatar Antoine Catton

Use shlex to split command line

parent f15bb155
......@@ -28,6 +28,7 @@ import logging
import os
from platform import uname
import setuptools
import shlex
import shutil
import subprocess
import tempfile
......@@ -86,7 +87,7 @@ def call(*args, **kwargs):
def calls(call_string, **kwargs):
"""Subprocesser caller which allows to pass arguments as string"""
call(call_string.split(), **kwargs)
call(shlex.split(call_string), **kwargs)
def guessworkdir(path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment