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