sandbox: add comment.
This commit is contained in:
		
							parent
							
								
									0f900edfa2
								
							
						
					
					
						commit
						aa04277dc2
					
				@ -102,6 +102,7 @@ class Sandbox
 | 
			
		||||
 | 
			
		||||
    begin
 | 
			
		||||
      command = [SANDBOX_EXEC, "-f", seatbelt.path, *args]
 | 
			
		||||
      # Start sandbox in a pseudoterminal to prevent access of the parent terminal.
 | 
			
		||||
      T.unsafe(PTY).spawn(*command) do |r, w, pid|
 | 
			
		||||
        w.winsize = $stdout.winsize
 | 
			
		||||
        trap(:WINCH) { w.winsize = $stdout.winsize }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user