forked from qt-creator/qt-creator
use temp file to pass env on unix as well
the linux command line can be 32k long ... which might still be not enough. well, in fact, it just makes the 'ps' output unreadable.
This commit is contained in:
@@ -43,10 +43,13 @@
|
||||
#include <windows.h>
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QWinEventNotifier;
|
||||
class QTemporaryFile;
|
||||
QT_END_NAMESPACE
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QTemporaryFile;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
namespace Utils {
|
||||
|
||||
@@ -102,12 +105,12 @@ private:
|
||||
QProcess::ExitStatus m_appStatus;
|
||||
QLocalServer m_stubServer;
|
||||
QLocalSocket *m_stubSocket;
|
||||
QTemporaryFile *m_tempFile;
|
||||
#ifdef Q_OS_WIN
|
||||
PROCESS_INFORMATION *m_pid;
|
||||
HANDLE m_hInferior;
|
||||
QWinEventNotifier *inferiorFinishedNotifier;
|
||||
QWinEventNotifier *processFinishedNotifier;
|
||||
QTemporaryFile *m_tempFile;
|
||||
#else
|
||||
QProcess m_process;
|
||||
QByteArray m_stubServerDir;
|
||||
|
||||
Reference in New Issue
Block a user