Sunday, November 20, 2016

system() slow in Win10 Pro, but not Home

I have two machines with fresh gVim 8.0.2 32-bit installations on Windows 10 Pro and Home, respectively. A call to `system()` (e.g. `echom system('whoami')`) takes about a full second on Win10 Pro; a shell window opens and closes before the result appears. On Win10 Home the result of the call appears instantly and no window is opened.

I would expect the result to appear instantly in both cases.

On IRC, somebody suggested looking at shell and shellcmdflag, but those variables have identical values on both systems:

shell=C:\WINDOWS\system32\cmd.exe
shellcmdflag=/c

How can I go about diagnosing the difference between the two systems?

Best,
Severin

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment