mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 09:34:53 +02:00
Try not setting PWD on QProcess on windows
This commit is contained in:
@@ -443,8 +443,10 @@ void ScriptResolver::startProcess()
|
|||||||
|
|
||||||
if( interpreter.isEmpty() )
|
if( interpreter.isEmpty() )
|
||||||
{
|
{
|
||||||
|
#ifndef Q_OS_WIN
|
||||||
const QFileInfo info( runPath );
|
const QFileInfo info( runPath );
|
||||||
m_proc.setWorkingDirectory( info.absolutePath() );
|
m_proc.setWorkingDirectory( info.absolutePath() );
|
||||||
|
#endif
|
||||||
m_proc.start( runPath );
|
m_proc.start( runPath );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user