【问题标题】:In the ant task Exec why is <arg value="/c"/> provided for executable="cmd" ? what are the other possible executables?在蚂蚁任务 Exec 为什么为 executable="cmd" 提供 <arg value="/c"/> ?其他可能的可执行文件是什么?
【发布时间】:2011-11-21 13:08:05
【问题描述】:

在ant任务Exec中,为什么为executable="cmd"提供&lt;arg value="/c"/&gt;
其他可能的可执行文件是什么?
谁能解释一下?

【问题讨论】:

    标签: ant cmd exec task


    【解决方案1】:

    /c 不是可执行文件:它是可执行文件的参数(在本例中为“cmd.exe”)

    来自文档(在 shell 中调用“cmd /?”):

    /C      Carries out the command specified by string and then terminates
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-24
      • 1970-01-01
      • 2019-05-27
      • 2011-12-11
      • 1970-01-01
      • 2011-12-29
      相关资源
      最近更新 更多