Skip to content

Commit

Permalink
Send the Coqtop stderr output to a pipe, as opposed to to Vim
Browse files Browse the repository at this point in the history
This should fix issue the-lambda-church#61.

I tried doing what the code for Windows NT did and redirect the stderr
output to stdout, but that freezes my Vim process for some reason. So I
just send it to a pipe that is never read from.
  • Loading branch information
felix authored and christofsteel committed Aug 4, 2017
1 parent 0dcaeb9 commit 22ec4fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoload/coqtop.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ def restart_coq(*args):
options + list(args)
, stdin = subprocess.PIPE
, stdout = subprocess.PIPE
, stderr = subprocess.PIPE # Do this so that the stderr output doesn't randomly appear on the screen
# TODO: Maybe display the stderr output somewhere useful?
, preexec_fn = ignore_sigint
)

Expand Down

0 comments on commit 22ec4fd

Please sign in to comment.