Open dvc94ch opened 8 years ago
I've spent a while trying to debug this, but I'm not getting anywhere. Do you have an idea why this is happening?
hawaii.launcher: Launching "/run/current-system/profile/bin/env" from "/gnu/store/mjj6n921hm6n0agllpf34dayvf73bryi-dump-environment-1/share/applications/dump-environment.desktop" hawaii.launcher: Failed to launch "/gnu/store/mjj6n921hm6n0agllpf34dayvf73bryi-dump-environment-1/share/applications/dump-environment.desktop" (dump-environment)
The relevant code seems to be here, and QProcess::ForwardedChannels should let me see the environment in the log.
QProcess::ForwardedChannels
QProcess *process = new QProcess(this); process->setProgram(command); process->setArguments(args); process->setProcessEnvironment(env); process->setProcessChannelMode(QProcess::ForwardedChannels); m_apps[entry.fileName()] = process; connect(process, SIGNAL(finished(int)), this, SLOT(finished(int))); process->start(); if (!process->waitForStarted()) { qCWarning(LAUNCHER, "Failed to launch \"%s\" (%s)", qPrintable(entry.fileName()), qPrintable(entry.name())); return false; }
Where you able to reproduce this?
Another problem I'm having is that it doesn't find some of the icons.
I've spent a while trying to debug this, but I'm not getting anywhere. Do you have an idea why this is happening?
The relevant code seems to be here, and
QProcess::ForwardedChannels
should let me see the environment in the log.