Changeset 18c6ea0


Ignore:
Timestamp:
01/27/14 05:37:20 (11 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
b8b95c8
Parents:
c43f7c2
Message:

Make sure that PCDM runs ~/.xprofile NOT as a forked process. That script might need to set env variables, and cannot do that for the entire session if it is a fork of the main process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/pcdm-xprocess.cpp

    r9a6b8ef r18c6ea0  
    143143  if(QFile::exists(xhome+"/.xprofile")){ 
    144144    qDebug() << "Run user ~/.xprofile"; 
    145     this->start("sh "+xhome+"/.xprofile &");//make sure to start it in parallel 
     145    this->start("sh "+xhome+"/.xprofile");//Cannot start in parallel if it sets env variables 
    146146    if(!this->waitForFinished(30000) ){ 
    147147      //If it still has not finished this after 30 seconds, kill it 
Note: See TracChangeset for help on using the changeset viewer.