Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Commit 5ab99e3

Browse files
committed
Replace magic number with proper constant
1 parent 9bcd4d5 commit 5ab99e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vxi11/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ def forksession(self, connection):
722722
# Wait for deceased children
723723
try:
724724
while 1:
725-
pid, sts = os.waitpid(0, 1)
725+
pid, sts = os.waitpid(0, os.WNOHANG)
726726
except os.error:
727727
pass
728728
pid = None

0 commit comments

Comments
 (0)