File src/background.c changed (mode: 100644) (index 3405a0104..3d31f7700) |
... |
... |
launch_external(const char cmd[], BgJobFlags flags, ShellRequester by) |
1184 |
1184 |
NULL, NULL, &startup, &pinfo); |
NULL, NULL, &startup, &pinfo); |
1185 |
1185 |
free(wide_cmd); |
free(wide_cmd); |
1186 |
1186 |
CloseHandle(hnul); |
CloseHandle(hnul); |
1187 |
|
if(startup.hStdInput != INVALID_HANDLE_VALUE) |
|
1188 |
|
{ |
|
1189 |
|
CloseHandle(startup.hStdInput); |
|
1190 |
|
} |
|
|
1187 |
|
CloseHandle(startup.hStdInput); |
1191 |
1188 |
CloseHandle(startup.hStdOutput); |
CloseHandle(startup.hStdOutput); |
1192 |
1189 |
if(startup.hStdError != startup.hStdOutput) |
if(startup.hStdError != startup.hStdOutput) |
1193 |
1190 |
{ |
{ |