Skip to content

KIO::CommandLauncherJob: Inherit environment variables by default

Fabian Vogt requested to merge work/fvogt/kde470984 into master

Before Qt 6.3, an empty (default constructed) QProcessEnvironment caused QProcess to incorrectly inherit the environment variables from the parent process. This was fixed in qtbase 5fc9c02a695.

Adjust for this behaviour change by explicitly inheriting the environment from the parent, to restore useful default behaviour of CommandLauncherJob.

BUG: 470984

Merge request reports

Loading