Hello, I have a build system set up to run a batch file. The batch file uses perl and powershell commands, which work fine in a regular command window (when I run the batch file from there). My problem is when I run the batch file from the build system my output says perl is an unrecognized command.
My build system looks like the following (The exact path names have been replaced because this is for work):
{
“name”: “Build”,
“shell”: true,
“cmd”: [“C:\script.bat”],
}
Technically the script is running a Visual Studio build. Note the Visual Studio build is successful and running the batch file from cmd is also successful. Anyone know what my issue could be (or another solution to running the file straight from Sublime)? This is the first time I’ve ever worked with build systems so any info would be appreciated. I have looked at the various documentation already.
Thanks