Running an OS command using apache-ant to IIS config
问题 I'm trying to create an ANT script which amongst other things will configure IIS. To do this, trying to harness the appcmd tool. However getting a strange error. The appcmd command runs fine outside of the ant script, but fails within. I'm using the exec task to kick it all off : <exec dir="C:\\Windows\\System32\\inetsrv\\" executable="C:\\Windows\\System32\\inetsrv\\appcmd.exe" output="d:\out.txt"> <arg value="appcmd set config /section:isapiCgiRestriction /+" [path='${appian_home}\\jakarta\