1.16. Element shell

<shell
  command = Shell command
  platform = (Unix | Windows | Mac | GenericUnix)
/>

Executes specified command using native shell: cmd.exe on Windows and /bin/sh on Unix (Mac OS X is considered to be a Unix platform).

The current working directory of the native shell is the temporary directory created for the execution of the process-command (%W, see below).

Specified command may reference helper applications declared using the Preferences dialog box, Helper Applications section.

If the platform attribute is not specified, the shell command is executed whatever is the platform running XXE.

If the platform attribute is specified, the shell command is executed only if the platform running XXE matches the value of this attribute:

Windows

Any version of Windows.

Mac

Mac OS X.

GenericUnix

A Unix which is not Mac OS X (Linux, Solaris, etc).

Unix

GenericUnix or Mac.