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:
@@ -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() );
|
||||
|
||||
|
Reference in New Issue
Block a user