Skip to content

Commit

Permalink
Fix: fds are non-inheritable by default since Python 3.4. It broke Te…
Browse files Browse the repository at this point in the history
…rmSink
  • Loading branch information
phil777 committed Sep 16, 2024
1 parent 2d102d2 commit cc0e333
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file added scapy/crc.py
Empty file.
1 change: 1 addition & 0 deletions scapy/pipetool.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ def _start_unix(self):
if not self.opened:
self.opened = True
rdesc, self.wdesc = os.pipe()
os.set_inheritable(rdesc, True)
cmd = ["xterm"]
if self.name is not None:
cmd.extend(["-title", self.name])
Expand Down

0 comments on commit cc0e333

Please sign in to comment.