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
  • 17,930
  • 13
  • 65
  • 74
trilawney
  • 1,776
  • 6
  • 26
  • 34

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,100
  • 9
  • 67
  • 105