On 2/25/21 10:53 AM, Idan Miara wrote:
> Actually, it might be a good idea to use a batch file...
> 
> I've created the following batch file named gdal_calc.bat in the scripts 
> folder:
> @python %~dp0\gdal_calc.py %*
> 
> Then running gdal_calc works even if *.py is associated with PyCharm.
> Do you think this issue justifies creating this kind of batch files for the 
> scripts to distribute in binary windows wheels ?

Mmm, /me no windows expert, I don't know. 

But couldn't this be a potential security issue? But I let knowledge to 
Windows/Python packagers....

Regards,

Richard Duivenvoorde
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to