MCPcopy Create free account
hub / github.com/KDE/kdevelop / effectiveCommandLine

Method effectiveCommandLine

kdevplatform/outputview/outputexecutejob.cpp:562–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562QStringList OutputExecuteJobPrivate::effectiveCommandLine() const
563{
564 // If we need to use a su-like helper, invoke it as
565 // "helper -- our command line".
566 QStringList privilegedCommand = m_owner->privilegedExecutionCommand();
567 if( !privilegedCommand.isEmpty() ) {
568 return QStringList() << m_owner->privilegedExecutionCommand() << QStringLiteral("--") << m_owner->commandLine();
569 } else {
570 return m_owner->commandLine();
571 }
572}
573
574} // namespace KDevelop
575

Callers 1

startMethod · 0.80

Calls 4

QStringListClass · 0.85
isEmptyMethod · 0.45
commandLineMethod · 0.45

Tested by

no test coverage detected