mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 7.4.1518
Problem: Channel with disconnected in/out/err is not supported. Solution: Implement it for Unix.
This commit is contained in:
@@ -10,7 +10,12 @@ import sys
|
||||
if __name__ == "__main__":
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
print(sys.argv[1])
|
||||
if sys.argv[1].startswith("err"):
|
||||
print(sys.argv[1], file=sys.stderr)
|
||||
sys.stderr.flush()
|
||||
else:
|
||||
print(sys.argv[1])
|
||||
sys.stdout.flush()
|
||||
|
||||
while True:
|
||||
typed = sys.stdin.readline()
|
||||
|
Reference in New Issue
Block a user