2011/1/18 sebb <seb...@gmail.com>: > > The empty string is assumed to be "perl", according to: >
No. Absence of this init-param is what will be "perl". Setting it explicitly overwrites the default. if (getServletConfig().getInitParameter("executable") != null) { cgiExecutable = getServletConfig().getInitParameter("executable"); } >> So cmd /q /c will be written as >> >> <init-param> >> <param-name>executable</param-name> >> <param-value>cmd.exe</param-value> >> </init-param> >> <init-param> >> <param-name>executable-arg-1</param-name> >> <param-value>/q</param-value> >> </init-param> >> <init-param> >> <param-name>executable-arg-2</param-name> >> <param-value>/c</param-value> >> </init-param> >> >> What do you think? > > Ant has a nicer format: > > <exec executable="cmd"> > <arg value="/c"/> > <arg value="ant.bat"/> > <arg value="-p"/> > </exec> That above was a part of web.xml. Maybe you mean "arg-1", "arg-2" etc (instead of "executable-arg-1")? Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org