Skip to content

Palanteer is stuck when following a python script that call platform.uname() #44

Closed
@EmmanuelAllasia

Description

@EmmanuelAllasia

Hello !

Using Python3.11
with Windows 10 & 11
with the last version of palanteer release 0.7.1 (https://github.com/dfeneyrou/palanteer/releases/tag/v0.7.1)

If there is a call to platform.uname() in the python application, palanteer remain stuck and nothing happen.

https://docs.python.org/3/library/platform.html#platform.uname
It's getting stuck at sys.platform_version()
And in this part of the code:

for cmd in ('ver', 'command /c ver', 'cmd /c ver'):
    try:
        info = subprocess.check_output(cmd,
                                       stdin=subprocess.DEVNULL,
                                       stderr=subprocess.DEVNULL,
                                       text=True,
                                       encoding="locale",
                                       shell=True)

FYI when running using Pycharm Debugger, this issue is not present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions