forked from qt-creator/qt-creator
Python: reduce the timeout of version check commands
Task-number: QTCREATORBUG-29363 Change-Id: Id7583c876dc2a8c92eae4dd68bda47dffafd6e3d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -115,6 +115,7 @@ static PythonLanguageServerState checkPythonLanguageServer(const FilePath &pytho
|
||||
const FilePath &modulePath = getPylsModulePath(pythonLShelpCommand);
|
||||
|
||||
Process pythonProcess;
|
||||
pythonProcess.setTimeoutS(2);
|
||||
pythonProcess.setCommand(pythonLShelpCommand);
|
||||
pythonProcess.runBlocking();
|
||||
if (pythonProcess.allOutput().contains("Python Language Server"))
|
||||
|
Reference in New Issue
Block a user