mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 15:36:59 +00:00
sandbox: add comment.
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user