Tell Windows (CreateProcessW) which part of the command is the program to run (#383)

This commit is contained in:
Josh Soref 2019-12-12 17:34:15 -05:00 committed by bagajjal
parent 7dd58ed31f
commit 3b28c64936
1 changed files with 1 additions and 1 deletions

2
ssh.c
View File

@ -1199,7 +1199,7 @@ main(int ac, char **av)
snprintf(port_s, sizeof(port_s), "%d", options.jump_port);
xasprintf(&options.proxy_command,
#ifdef WINDOWS
"%s%s%s%s%s%s%s%s%s%s%.*s -W \"[%%h]:%%p\" %s",
"\"%s\" %s%s%s%s%s%s%s%s%s%.*s -W \"[%%h]:%%p\" %s",
#else
"%s%s%s%s%s%s%s%s%s%s%.*s -W '[%%h]:%%p' %s",
#endif