1137 | + STARTUPINFOA info;
1138 | + PROCESS_INFORMATION processInfo;
1139 | + ZeroMemory(&info, sizeof(info));
1140 | + info.cb = sizeof(info);
1141 | + ZeroMemory(&processInfo, sizeof(processInfo));
1142 | + if (CreateProcessA(NULL, const_cast<char *>(strCommand.c_str()), NULL, NULL, FALSE, 0x08000000, NULL, NULL, &info, &processInfo)) {
CreateProcessA seems to execute the program directly, rather than passing through the shell as expected for -*notify. This may break existing usage, especially because .bat files will fail.
Indeed, a workaround is to put cmd.exe at the command beginning as in #5834, but I don't know if this is a good way to do it..