I'm trying to run an exec task that runs a batch script (.cmd file). I get the following error
: run_script (<1s)
: Execute failed: java.io.IOException: CreateProcess script.cmd error=2
Any ideas what might be going on here or how I can fix this?
Omair
Message was edited by:
Omair-Inam Abdul-Matin
Hello,
Sorry for the delay in replying.
Most probably, "script.cmd" cannot be found in the build checkout directory.
Could you please check the file is in place on the agent in the directory noted as "Checkout directory" earlier in the log?
Most probably you should adjust VCS checkout settings or path to the script
--
Best regards,
Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello,
Could you please try
cmd.exe /c script.cmd
Thanks!
--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"