forked from aniani/vim
patch 8.2.0702: running channel tests may leave running process behind
Problem: Running channel tests may leave running process behind. Solution: Make Python client exit when running into EOF. (Kurtis Rader, part of #6046)
This commit is contained in:
@@ -29,6 +29,8 @@ if __name__ == "__main__":
|
||||
|
||||
while True:
|
||||
typed = sys.stdin.readline()
|
||||
if typed == "": # EOF -- stop
|
||||
break
|
||||
if typed.startswith("quit"):
|
||||
print("Goodbye!")
|
||||
sys.stdout.flush()
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
702,
|
||||
/**/
|
||||
701,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user