The Agent for Pocket PC can invoke any external program during package script execution. For example, this might include custom applications, tools, or script executors such as Pocket Perl.

This command has the following format:

Exec Command_Name Command_Args...  

Where the following arguments are defined:

  • Command_Name is the name of the program to be executed.
  • Command_Args are passed directly to the shell after substitution has taken place for script variables. The only restriction on execution of external commands is that the program must exit with a status of 0 on success. Any other exit value will cause a script error and package execution will be aborted.

More Information