Skip to content

Fix detection of python tool in bash scripts #1142

@KvanTTT

Description

@KvanTTT

It's python on Windows and python3 on Linux and macOS.

We can use the following to detect the correct executable:

if command -v python3 >/dev/null 2>&1; then
  PYTHON=python3
else
  PYTHON=python

fi

...

$PYTHON ... 

I'll prepare fix for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions