在ant任务Exec中为什么是<arg value="/c"/>
为 executable="cmd"?
提供
其他可能的可执行文件是什么?
谁能解释一下?
最佳答案
/c
不是可执行文件:它是可执行文件的参数(在本例中为“cmd.exe”)
来自文档(在 shell 中调用“cmd/?”):
/C Carries out the command specified by string and then terminates
关于ant - 在 ant 任务 Exec 中,为什么 <arg value ="/c"/> 为可执行文件 ="cmd"提供?其他可能的可执行文件是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8212308/