From a4339b6169a7659386782a913f0fd5b9358aa9f0 Mon Sep 17 00:00:00 2001
From: Yohan Jarosz <yohanjarosz@yahoo.fr>
Date: Fri, 17 Jul 2015 14:23:46 +0200
Subject: [PATCH] add shlex

---
 IMP | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/IMP b/IMP
index 8956d35..af73117 100755
--- a/IMP
+++ b/IMP
@@ -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):
-- 
GitLab