From dba37ddafe2a7070af5c6b61b6e56dc4fa431d4d Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 16 Jul 2018 07:13:30 +0200 Subject: [PATCH] [fix] argument must be quoted --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 98cc2ce..0b753d6 100644 --- a/run.py +++ b/run.py @@ -137,7 +137,7 @@ async def run_job(worker, job): print(f"Starting job {job.name}...") cwd = os.path.split(path_to_analyseCI)[0] - arguments = f"{job.url_or_path} {job.name}" + arguments = f' {job.url_or_path} "{job.name}"' command = await asyncio.create_subprocess_shell("/bin/bash " + path_to_analyseCI + arguments, cwd=cwd, stdout=asyncio.subprocess.PIPE,