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
--
--
You received this message from the "vim_dev" 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_dev" 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_dev/60b441d444d00_1c9bc208a8%40natae.notmuch.