Hello,
If I run this:
:call system('exo-open
http://google.com')
It works fine.
But this doesn't:
:!exo-open
http://google.com
I tried to reproduce what exo-open ultimately does, an the issue ends up
with a simple g_spawn_async().
#include <glib.h>
int main(void)
{
gchar *argv[] = { "/usr/bin/brave", "
http://google.com", NULL };
g_spawn_async (NULL, argv, NULL, 0, NULL, NULL, NULL, NULL);
return 0;
}
The program ends too quickly and nothing happens, but only with :!
Oh, and this only happens in gvim, not in vim.
Is there a bug with :! not present with system()?
Cheers.
--
Felipe Contreras