mirror of
				https://github.com/engineer-man/piston.git
				synced 2025-10-26 11:10:02 +01: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")) |     args = append(args, strings.Join(request.Args, "\n")) | ||||||
| 
 | 
 | ||||||
|     // set up the execution |     // 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() |     cmd.Env = os.Environ() | ||||||
| 
 | 
 | ||||||
|     if instance > 0 { |     if instance > 0 { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue