pmav99 / nvsmi

A (user-)friendly wrapper to nvdia-smi
MIT License
28 stars 8 forks source link

Added shell=True flag to subprocess to avoid flashing cmd windows #8

Open Sucharek233 opened 7 months ago

Sucharek233 commented 7 months ago

I had a problem with flashing cmd windows when I compiled my python script to an executable. Adding the shell=True flag to the 2 subprocess lines stopped these windows from opening.

This issue probably happens only on Windows.