3

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 ?

oers
  • 18,436
  • 13
  • 66
  • 75
trilawney
  • 1,786
  • 6
  • 28
  • 36

1 Answers1

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