Changeset 2a1b10d


Ignore:
Timestamp:
01/27/14 13:21:45 (7 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
3b71e5d
Parents:
9725c385
Message:

Restore running ~/.xprofile in a seperate "start" on the session process before starting the main process.

File:
1 edited

Legend:

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

    r9725c385 r2a1b10d  
    144144  if(QFile::exists(xhome+"/.xprofile")){ 
    145145    Backend::log(" --Run user ~/.xprofile"); 
    146     cmd.prepend("sh "+xhome+"/.xprofile; "); 
     146    //cmd.prepend("sh "+xhome+"/.xprofile; "); 
     147    QString xpro = "sh "+xhome+"/.xprofile"; 
    147148    //Make sure it has executable permissions 
    148     QFile::setPermissions(xhome+"/.xprofile", QFile::permissions(xhome+"/.xprofile") | QFile::ExeOwner | QFile::ExeGroup | QFile::ExeOther); 
     149    //QFile::setPermissions(xhome+"/.xprofile", QFile::permissions(xhome+"/.xprofile") | QFile::ExeOwner | QFile::ExeGroup | QFile::ExeOther); 
     150    this->start(xpro); 
     151    this->waitForFinished(3000); 
    149152  } 
    150153  connect( this, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(slotCleanup()) ); 
Note: See TracChangeset for help on using the changeset viewer.