In the ant task Exec why is <arg value="/c"/>
provided for executable="cmd"?
What are the other possible executables?
Could anyone please explain this ?
In the ant task Exec why is provided for executable="cmd" ? what are the other possible executables?
Asked
Active
Viewed 2,938 times
1 Answers
2
/c
is not an executable: it an argument to the executable (in this case "cmd.exe")
From the documentation (call "cmd /?" in a shell):
/C Carries out the command specified by string and then terminates

Matteo
- 14,696
- 9
- 68
- 106