mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
enable lxc on api
This commit is contained in:
parent
e75ae5365e
commit
c94c7577fb
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ func launch(request inbound, res http.ResponseWriter) {
|
|||
args = append(args, strings.Join(request.Args, "\n"))
|
||||
|
||||
// set up the execution
|
||||
cmd := exec.Command("../docker/execute", args...)
|
||||
//cmd := exec.Command("../docker/execute", args...)
|
||||
cmd := exec.Command("../lxc/execute", args...)
|
||||
cmd.Env = os.Environ()
|
||||
|
||||
if instance > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue