Most likely, fzy wants to write to a tty, not a file.

Justin M. Keyes

On Jan 6, 2017 17:09, "justrajdeep" <[email protected]> wrote:

> Hi experts
>
> Having an issue while doing a system() call with fzy(https://github.com/
> Dkendal/fzy-vim)from inside gvim
>
> Code snippet
>
>   silent let output = system("ag -l -g '' --nocolor | fzy")
>
>   Decho(1)
>   Decho (output)
>   Decho(2)
>   Decho(3)
>
>
> The output is
>
>     1
>     Failed to open /dev/tty^J
>     2
>     3
>
>
> If i remove fzy from the command the result is fine. Can someone please
> help me debugging the issue?
>
> Thanks in advance.
>
> System information:
>
> Red Hat Enterprise Linux Client 6 U7
> Linux ltipc897 2.6.32-573.el6.x86_64 #1 SMP Wed Jul 1 18:23:37 EDT 2015
> x86_64 GNU/Linux
>
> Vim Version: 8.0.143
>
>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to