mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[fix] argument must be quoted
This commit is contained in:
parent
3bd715bb8d
commit
dba37ddafe
1 changed files with 1 additions and 1 deletions
2
run.py
2
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue