restore system environment for subprocesses

Review Request #128209 - Created June 16, 2016 and submitted

Information
Sven Brauch
kdevplatform
Reviewers
kdevelop
kfunk

When running in some kind of container (esp. AppImage), we need to restore the original system environment for all external processes. This patch does that, using the information about the original environment which was set by the startup shell script.

Can run cmake from KDevelop AppImage now without library errors.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Kevin Funk
Sven Brauch
Review request changed

Status: Closed (submitted)

Milian Wolff

   
util/environmentgrouplist.cpp (Diff revision 1)
 
 

both of these should not be warnings. and they should not be emitted when nothing neds to be changed, no?

also, I'd like to see this become a

static const auto shouldChange = ...;
Loading...