Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inputオプションで標準入力に流すファイルを指定してもプログラムが入力を受け取らない #72

Open
yuntan opened this issue Aug 24, 2013 · 1 comment

Comments

@yuntan
Copy link

yuntan commented Aug 24, 2013

https://gist.github.com/yuntan/6326061
このようなコードを書いて保存し,また
https://gist.github.com/yuntan/6326072
(Gistでは見えないですが2行目に空行が入っています)
このような内容のファイルをtest.txtとして保存した後,
:QuickRun <test.txt
または
:QuickRun -input test.txt
を実行しても,bufferの出力が
input:
のままで,プログラムが入力待ちになってしまいます

inputオプションで指定したファイルが正しくプログラムの標準入力に流されていないのだと思うのですが…

vimrcは以下のように設定しています
https://gist.github.com/yuntan/6326118

@osyo-manga
Copy link
Contributor

簡単に調べてみたんですが exec に複数の設定がされていると再現するみたいですね(clang や gcc はコンパイルと実行の複数の exec が設定されている

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants