In my prebuild step, I want the pylauncher to run a python script. I seem to have to hardcode the py launcher’s directory for it to work by doing something like “C:\Windows\py.exe -3 pre_build.py” or something similar. However, that directory is in my %PATH% variable and I can verify that by running “echo $(Path)”.
How can I have it run the py launcher without hardcoding the directory?
VisualGDB passes the file name and arguments directly to ProcessStartInfo, so the behavior regarding path, etc is defined by it. You can try calling this function directly with different combinations of parameters to see what works the best.