Hi Jurgen and Thank you.

Yes i need two instances of gvim in a protocole way that i cannot modify.

And i build my own minimalist distro portable on Windows so on this distro
i have no vim.exe.

So in these conditions more difficult to get serverlist as output no ?

Le mer. 21 oct. 2020 à 13:54, 'Jürgen Krämer' via vim_use <
[email protected]> a écrit :

> Hi,
>
> Ni Va schrieb am 20.10.2020 um 15:29:
> >
> > I am using GVim build following infos :
> >
> >   * VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 20 2020 14:40:45)
> >   * MS-Windows 32-bit GUI version with OLE support
> >   * Included patches: 1-*1870*
> >
> >
> > I would like to retrieve a script (vim9) output of serverlist actually
> running out of a popup.
> > The only *constraint *is to use *gvim.exe as executable.*
> >
> > The command I launch from script (vim9) actually which gives
> popupwhere_I would like a string's list_.
> > echo job_start( expand('$vimruntime/gvim.exe --serverlist') )
>
> is there a specific reason you need to start a second instance of GVIM?
> There is a function serverlist() which provides this information.
>
> And if you really need to start a second process does it have to be GVIM or
> would VIM work also? VIM prints the list of servers on standard output, so
> you could redirect its output with the correct set of options for
> job_start().
>
> Regards,
> Jürgen
>
>
> --
> --
> 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 a topic in the
> Google Groups "vim_use" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_use/CVr5gAGw5hw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_use/a5caafa0-a8b6-d221-976e-178196805448%40googlemail.com
> .
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CAOKxv4HHtFjnLELjcOjC_wLhcOJA1LXp%2BBMOWstJ_Kt3L4R8tg%40mail.gmail.com.

Reply via email to