diff --git a/pwnlib/util/misc.py b/pwnlib/util/misc.py index d69873572..08815531a 100644 --- a/pwnlib/util/misc.py +++ b/pwnlib/util/misc.py @@ -504,7 +504,7 @@ def kill(): if terminal == 'qdbus': os.kill(pid, signal.SIGHUP) elif terminal == 'kitty': - subprocess.Popen(["kitten", "@", "close-window", "--match", "id:{}".format(kittyid)]) + subprocess.Popen(["kitten", "@", "close-window", "--match", "id:{}".format(kittyid)], stderr=stderr) else: os.kill(pid, signal.SIGTERM) except OSError: