UnixProcessParameters Struct
struct QProcess::UnixProcessParametersThis struct was introduced in Qt 6.6.
Detailed Description
Note: This struct is only available on Unix platforms
This struct can be used to pass extra, Unix-specific configuration for the child process using QProcess::setUnixProcessParameters().
Its members are:
- UnixProcessParameters::flags Flags, see QProcess::UnixProcessFlags
All of the settings above can also be manually achieved by calling the respective POSIX function from a handler set with QProcess::setChildProcessModifier(). This structure allows QProcess to deal with any platform-specific differences, benefit from certain optimizations, and reduces code duplication. Moreover, if any of those functions fail, QProcess will enter QProcess::FailedToStart state, while the child process modifier callback is not allowed to fail.
See also QProcess::setUnixProcessParameters() and QProcess::setChildProcessModifier().