Execute Program

Use the Execute Program action to start an application program on the gateway.

Parameters

Name Description
Program The path and file name of the application program to start.
  • The platform's operating system "system" call is used to execute the program.
  • The system call blocks until the program that is executed completes.
  • For Linux based systems, the chmod command is used to set the file's execute permission.
  • The path and file name can be absolute or relative.
  • For Linux systems use Linux file path conventions (e.g. /opt/dw/staging/myfiles/test.sh).
  • For Windows systems use Windows file path conventions (e.g. C:\Program Files\deviceWISE\Gateway\staging\myfiles/test.cmd).
Parameters Optional parameters for controlling how to start the program.