Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
None
-
None
Description
Currently we have:
bool startDetached ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 )
bool startDetached ( const QString & program, const QStringList & arguments )
But it would be really great to have:
bool startDetached ( const QString & program, const QStringList & arguments, const QProcessEnvironment & environment, const QString & workingDirectory = QString(), qint64 * pid = 0 )
This would allow to start detached process with custom environments.
Attachments
Issue Links
- duplicates
-
QTBUG-2284 QProcess::startDetached does not support setting an environment for the new process
-
- Closed
-
- is duplicated by
-
QTBUG-22943 QProcess seems not to use QProcessEnvironment
-
- Closed
-