mirror of
				https://github.com/engineer-man/piston.git
				synced 2025-10-27 19:50:03 +01:00 
			
		
		
		
	experimental new executors
This commit is contained in:
		
							parent
							
								
									7880f204b6
								
							
						
					
					
						commit
						178d9c89f7
					
				
					 2 changed files with 12 additions and 2 deletions
				
			
		|  | @ -1,2 +1,7 @@ | |||
| cd /tmp/$2 | ||||
| runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 emacs -Q --script code.code" | ||||
| 
 | ||||
| if [[ -z $(grep '[^[:space:]]' args.args) ]]; then | ||||
|     runuser -l runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 emacs -Q --script code.code" | ||||
| else | ||||
|     runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 emacs -Q --script code.code" | ||||
| fi | ||||
|  |  | |||
|  | @ -1,2 +1,7 @@ | |||
| cd /tmp/$2 | ||||
| runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 node code.code" | ||||
| 
 | ||||
| if [[ -z $(grep '[^[:space:]]' args.args) ]]; then | ||||
|     runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 node code.code" | ||||
| else | ||||
|     runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 node code.code" | ||||
| fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue