https://bugs.kde.org/show_bug.cgi?id=493937
--- Comment #7 from Artur <k...@usbx.eu> --- I can try a patch. Some more observations: 1. Renaming /usr/bin/testparm so that it is not found helps and Dolphin never gets stuck (but I'd rather have a working samba installation). 2. I built this minimal test piece based on KSambaSharePrivate::setUserSharePath() using the exact same toolchain & Qt6, and it runs fine (completes immediately): #include <QDebug> #include <QProcess> #include <QStandardPaths> int main(int argc, char *argv[]) { const QStringList args{ QStringLiteral("-d0"), QStringLiteral("-s"), QStringLiteral("--parameter-name"), QStringLiteral("usershare path"), }; QProcess process; process.setProcessChannelMode(QProcess::SeparateChannels); const QString exec = QStandardPaths::findExecutable("/usr/bin/testparm"); if (exec.isEmpty()) { qWarning() << "Could not find an executable named:" << "/usr/bin/testparm"; return -1; } process.start(exec, args); process.waitForFinished(); QByteArray stdOut = process.readAllStandardOutput(); QByteArray stdErr = process.readAllStandardError(); return process.exitCode(); } -- You are receiving this mail because: You are watching all bug changes.