You are using CMD to execute it; note that you need to use the
/c
argument to tell CMD that you want to run something, like this:
cmd.exe /c executable.exe arguments here
You can prepend your
commandText
string to
/c
to solve this:
string commandText = "/c executable.exe" + scriptPath + " " + "\"" + file1 + "\"" +" " + "\"" + file2 + "\"" + " " + "\"" + outPutPath + "\"";