mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
api: quote args when being executed
This commit is contained in:
parent
7b57bef167
commit
d529384f21
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Job {
|
|||
const proc_call = [
|
||||
...prlimit,
|
||||
...unshare,
|
||||
'bash',file, ...args
|
||||
'bash',file, ...args.map(x=>`"${x}"`)
|
||||
];
|
||||
|
||||
var stdout = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue