Opened 5 months ago

#1454 new defect

process-wait does not function corrently with nohang on Windows

Reported by: jrobbins Owned by:
Priority: major Milestone: someday
Component: core libraries Version: 4.13.0
Keywords: Cc:
Estimated difficulty: trivial

Description

On Windows, if you specify #t to nohang when calling process-wait, and the process is still running, you will get an error with a bogus error message. This is because process-wait uses WaitForSingleObject? on Windows, and the result code WAIT_TIMEOUT is not handled, being treated as an error even though there was never an error in the first place. Attached is a patch to fix this bug.

Attachments (1)

patch.txt (1.7 KB) - added by jrobbins 5 months ago.

Download all attachments as: .zip

Change History (1)

Changed 5 months ago by jrobbins

Note: See TracTickets for help on using tickets.