[fix] argument must be quoted

This commit is contained in:
Laurent Peuch 2018-07-16 07:13:30 +02:00
parent 3bd715bb8d
commit dba37ddafe

2
run.py
View file

@ -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,