CreateProcess error when running external tool
hi all,
I'm trying to run a simple command line using external tool utility.
But, whenever I try to run it I get a popup saying:
Error running Add: CreateProcess: cmm add error=2
Where 'Add' is the name I gave the external tool and 'cmm add' is the actual command.
No problems when running such command from a dos window.
Any idea what's wrong?
Thanks
Anat
Attachment(s):
error.jpg
Please sign in to leave a comment.
anat wrote:
You probably entered "cmm add" into the "Program:" textfield, but you should instead just
put the name of the actual executable program ("cmm") in there. The parameter "add" should
go into the "Parameters:" textfield of the external tool configuration.
HTH,
Sascha
No, I use only 'cmm' in the command and 'add' in the parameters.
Even if I enable the existing Perforce Add command I get again CreateProcess error when trying to run it.
anat wrote:
Hmm, then the only thing I can think of is that the executable can not be found
in the current search-path. Try entering the full name and path of the
executable in the program field, like "c:\somewhere\cmm.exe".
Sascha
Thanks!
It was really this problem that cmm was not an executable file and I had to use the full path to the exe file as you suggested.
bye
Anat