Skip to content
Snippets Groups Projects
Commit a4339b61 authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

add shlex

parent 4735f413
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ def init(args):
'-v %s:/databases' % db_path, container_name, 'snakemake -s /home/imp/integrated-metaomic-pipeline/init.rule'
]
print("Executing", '"', ' '.join(cmd), '"')
subprocess.call(cmd)
subprocess.call(shlex.split(' '.join(cmd))
def run(args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment