Fix Savannah bug #31150 with failures due to setting window title.

* sub_proc.c (process_begin): Don't set startInfo.lpTitle, it
reportedly causes SV bug #31150, and according to MSDN it's a
no-no.
This commit is contained in:
Eli Zaretskii 2013-10-22 19:04:34 +03:00
parent a7794f483b
commit 9c28d5125d

View file

@ -756,7 +756,6 @@ process_begin(
startInfo.lpReserved = 0;
startInfo.cbReserved2 = 0;
startInfo.lpReserved2 = 0;
startInfo.lpTitle = shell_name ? shell_name : exec_path;
startInfo.hStdInput = (HANDLE)pproc->sv_stdin[1];
startInfo.hStdOutput = (HANDLE)pproc->sv_stdout[1];
startInfo.hStdError = (HANDLE)pproc->sv_stderr[1];