Python Forum
which exception do you get when you os.write() to a pipe that has nothing reading it?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
which exception do you get when you os.write() to a pipe that has nothing reading it?
#3
i tried a bunch of things in interactive Python and got a variety of responses but none of them gave an exception. some would hang, with one even blocking Ctrl-C (e.g. ^C would have no effect). when i could check it, the return value was inconsistent. what search string should find this?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: which exception - by Gribouillis - Jan-06-2023, 09:16 AM
RE: which exception do you get when you os.write() to a pipe that has nothing reading it? - by Skaperen - Jan-07-2023, 05:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pipe(s) in = subprocess.Popen() Skaperen 0 1,830 Feb-13-2021, 11:48 PM
Last Post: Skaperen
  re-open a Popen pipe in non-binary mode Skaperen 2 4,118 Jul-29-2019, 05:25 PM
Last Post: Skaperen
  stdin input while copying from a process pipe Skaperen 0 1,591 Jul-18-2019, 12:15 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020