mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
Improve the MS-Windows installer.
This commit is contained in:
@@ -418,12 +418,12 @@ run_command(char *cmd)
|
||||
/* There is a cmd.exe, so this might be Windows NT. If it is,
|
||||
* we need to call cmd.exe explicitly. If it is a later OS,
|
||||
* calling cmd.exe won't hurt if it is present.
|
||||
* Also, "wait" on NT expects a window title argument.
|
||||
* Also, "start" on NT expects a window title argument.
|
||||
*/
|
||||
/* Replace the slashes with backslashes. */
|
||||
while ((p = strchr(cmd_path, '/')) != NULL)
|
||||
*p = '\\';
|
||||
sprintf(cmd_buf, "%s /c start \"vimcmd\" /w %s", cmd_path, cmd);
|
||||
sprintf(cmd_buf, "%s /c start \"vimcmd\" /wait %s", cmd_path, cmd);
|
||||
free(cmd_path);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user