292 exe = "" |
292 exe = "" |
293 else: |
293 else: |
294 exe = Utilities.getExecutablePath(exe) |
294 exe = Utilities.getExecutablePath(exe) |
295 if exe: |
295 if exe: |
296 if versionCommand and \ |
296 if versionCommand and \ |
297 (versionStartsWith != "" or \ |
297 (versionStartsWith != "" or |
298 (versionRe is not None and versionRe != "")) and \ |
298 (versionRe is not None and versionRe != "")) and \ |
299 versionPosition: |
299 versionPosition: |
300 proc = QProcess() |
300 proc = QProcess() |
301 proc.setProcessChannelMode(QProcess.MergedChannels) |
301 proc.setProcessChannelMode(QProcess.MergedChannels) |
302 proc.start(exe, [versionCommand]) |
302 proc.start(exe, [versionCommand]) |