1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-30 19:00:12 +02:00

Explicitly set working dir of script resolvers being launched

This commit is contained in:
Leo Franchi
2012-06-10 22:53:29 +02:00
parent 9218488409
commit 5a534954cc

View File

@@ -442,7 +442,11 @@ void ScriptResolver::startProcess()
#endif // Q_OS_WIN
if( interpreter.isEmpty() )
{
const QFileInfo info( runPath );
m_proc.setWorkingDirectory( info.absolutePath() );
m_proc.start( runPath );
}
else
m_proc.start( interpreter, QStringList() << filePath() );