diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-26 17:16:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-26 17:16:24 +0200 |
commit | b2658a1ab02cd0ba848164f70c7c464fdc398162 (patch) | |
tree | a84b975826fc11bbba0f8320d12e726f238be9b6 /src/testdir/test_channel_pipe.py | |
parent | d10abe52019d10403eb559ea0a424bbd310b738f (diff) | |
download | vim-git-b2658a1ab02cd0ba848164f70c7c464fdc398162.tar.gz |
patch 7.4.1787v7.4.1787
Problem: When a job ends the close callback is invoked before other
callbacks. On Windows the close callback is not called.
Solution: First invoke out/err callbacks before the close callback.
Make the close callback work on Windows.
Diffstat (limited to 'src/testdir/test_channel_pipe.py')
-rw-r--r-- | src/testdir/test_channel_pipe.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_channel_pipe.py b/src/testdir/test_channel_pipe.py index fa1a40f13..5f3250674 100644 --- a/src/testdir/test_channel_pipe.py +++ b/src/testdir/test_channel_pipe.py @@ -16,6 +16,8 @@ if __name__ == "__main__": else: print(sys.argv[1]) sys.stdout.flush() + if sys.argv[1].startswith("quit"): + sys.exit(0) while True: typed = sys.stdin.readline() |