mirror of
https://github.com/vim/vim.git
synced 2025-10-08 06:04:08 -04:00
patch 8.1.0889: MS-Windows: a channel write may hang
Problem: MS-Windows: a channel write may hang. Solution: Check for WriteFile() not writing anything. (Yasuhiro Matsumoto, closes #3920)
This commit is contained in:
@@ -18,6 +18,9 @@ if __name__ == "__main__":
|
||||
print(sys.argv[1], end='')
|
||||
sys.stdout.flush()
|
||||
sys.exit(0)
|
||||
elif sys.argv[1].startswith("busy"):
|
||||
time.sleep(100)
|
||||
sys.exit(0)
|
||||
else:
|
||||
print(sys.argv[1])
|
||||
sys.stdout.flush()
|
||||
|
Reference in New Issue
Block a user