api: quote args when being executed
This commit is contained in:
parent
7b57bef167
commit
d529384f21
|
@ -81,7 +81,7 @@ class Job {
|
|||
const proc_call = [
|
||||
...prlimit,
|
||||
...unshare,
|
||||
'bash',file, ...args
|
||||
'bash',file, ...args.map(x=>`"${x}"`)
|
||||
];
|
||||
|
||||
var stdout = '';
|
||||
|
|
Loading…
Reference in New Issue