Batch file not closing with exit command

I am opening a .net solution in visual studio 2019 using batch command through a batch file like this

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe" "D:\Pawan\Projects\MyProj\src\MyProj.sln"

and it is working, it opens the project in VS2019 successfully.

The problem is it keeps the command window open and not closing by any of these commands I tried

exit 0

exit /b 0

GOTO:EOF

Any idea?