Azure / batch-shipyard

Simplify HPC and Batch workloads on Azure
MIT License
277 stars 121 forks source link

Test python system executable before nodeprep use #364

Closed emattiza closed 3 years ago

emattiza commented 3 years ago

Because of some operating systems choice to deprecate a named system executable of just python, this will test for a suitable python3 if available, otherwise revert to the prior standard command

Issues: #363

Pull Request Checklist

Description

Amends the python call to point to python3 if available, else defaults to python. Eliminates command not found error

alfpark commented 3 years ago

Thanks, this was a missed line in using the stored python invocation and will be fixed.