Commit c9a8dc99 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

expand working directory before looking for a command in it

Reviewed-by: hunger
parent 0765a981
......@@ -355,7 +355,8 @@ void AbstractProcessStep::slotProcessFinished(int, QProcess::ExitStatus)
QString AbstractProcessStep::expandedCommand() const
QString command = m_environment.searchInPath(m_command, QStringList() << workingDirectory());
QString command = m_environment.searchInPath(
m_command, QStringList() << m_environment.expandVariables(m_workingDirectory));
if (command.isEmpty())
command = m_command;
return command;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment