mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] add debug output
This commit is contained in:
parent
dba37ddafe
commit
70e5e1933e
1 changed files with 1 additions and 0 deletions
1
run.py
1
run.py
|
@ -138,6 +138,7 @@ async def run_job(worker, job):
|
||||||
|
|
||||||
cwd = os.path.split(path_to_analyseCI)[0]
|
cwd = os.path.split(path_to_analyseCI)[0]
|
||||||
arguments = f' {job.url_or_path} "{job.name}"'
|
arguments = f' {job.url_or_path} "{job.name}"'
|
||||||
|
print("/bin/bash " + path_to_analyseCI + arguments)
|
||||||
command = await asyncio.create_subprocess_shell("/bin/bash " + path_to_analyseCI + arguments,
|
command = await asyncio.create_subprocess_shell("/bin/bash " + path_to_analyseCI + arguments,
|
||||||
cwd=cwd,
|
cwd=cwd,
|
||||||
stdout=asyncio.subprocess.PIPE,
|
stdout=asyncio.subprocess.PIPE,
|
||||||
|
|
Loading…
Add table
Reference in a new issue