Tell Windows (CreateProcessW) which part of the command is the program to run (#383)
This commit is contained in:
parent
7dd58ed31f
commit
3b28c64936
2
ssh.c
2
ssh.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue