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?
#4
Without code, it is very difficult to answer. You could perhaps use poll() or select() with a timeout to detect that the pipe is not ready for writing.
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 Gribouillis - Jan-07-2023, 06:14 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