2015-04-02 18:31:45 +02:00
|
|
|
diff --git "a/D:\\Qt\\Source\\_4.8.7_\\Static\\src\\corelib\\io\\qprocess_win.org" "b/D:\\Qt\\Source\\_4.8.7_\\Static\\src\\corelib\\io\\qprocess_win.cpp"
|
|
|
|
index b8f715d..e0596c4 100644
|
|
|
|
--- "a/D:\\Qt\\Source\\_4.8.7_\\Static\\src\\corelib\\io\\qprocess_win.org"
|
|
|
|
+++ "b/D:\\Qt\\Source\\_4.8.7_\\Static\\src\\corelib\\io\\qprocess_win.cpp"
|
2013-10-21 14:58:12 +02:00
|
|
|
@@ -414,6 +414,7 @@ void QProcessPrivate::startProcess()
|
2012-03-01 23:14:41 +01:00
|
|
|
#else
|
|
|
|
DWORD dwCreationFlags = CREATE_NO_WINDOW;
|
|
|
|
dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
|
|
|
|
+ dwCreationFlags |= CREATE_BREAKAWAY_FROM_JOB;
|
|
|
|
STARTUPINFOW startupInfo = { sizeof( STARTUPINFO ), 0, 0, 0,
|
|
|
|
(ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT,
|
|
|
|
(ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT,
|
2013-10-21 14:58:12 +02:00
|
|
|
@@ -859,7 +860,7 @@ bool QProcessPrivate::startDetached(const QString &program, const QStringList &a
|
2012-03-01 23:14:41 +01:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
|
|
|
};
|
|
|
|
success = CreateProcess(0, (wchar_t*)args.utf16(),
|
|
|
|
- 0, 0, FALSE, CREATE_UNICODE_ENVIRONMENT | CREATE_NEW_CONSOLE, 0,
|
|
|
|
+ 0, 0, FALSE, CREATE_UNICODE_ENVIRONMENT | CREATE_NEW_CONSOLE | CREATE_BREAKAWAY_FROM_JOB, 0,
|
|
|
|
workingDir.isEmpty() ? 0 : (wchar_t*)workingDir.utf16(),
|
|
|
|
&startupInfo, &pinfo);
|
|
|
|
#endif // Q_OS_WINCE
|