I am building a Nuget package on my windows machine. When I run the below command in win cmd prompt
nuget spec myProj.cs
It generate a myproj.nusepc files & so on.
But when I am trying to run the same command from bash client (Git bash on windows as client) as
bash nuget spec myProj.cs
It throws the error > nuget: nuget: cannot execute binary file
Please note that Nuget.exe is available under the same folder as the terminal pwd
How can I run/execute the nuget commands inside bash scripts?
Thanks!