[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: QProcess.startDetached broken with None argument in snapshots
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2023-07-21 12:49:55
Message-ID: bc7f4c70daf9ee362efea2cff10f960c () riverbankcomputing ! com
[Download RAW message or body]
On 20/07/2023 23:05, Florian Bruhin wrote:
> This works with PyQt 6.5.1:
>
> >>> from PyQt6.QtCore import QProcess
> >>> QProcess.startDetached("echo", ["test"], None)
> test
> (True, 132311)
>
> But fails on 6.5.2.dev2307152153:
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> TypeError: arguments did not match any overloaded call:
> startDetached(
> program: Optional[str],
> arguments: Iterable[Optional[str]] = [],
> workingDirectory: Optional[str] = ''
> ): argument 3 has unexpected type 'NoneType'
> startDetached(self): first argument of unbound method must have
> type 'QProcess'
Fixed, thanks.
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic