Pinnacle :
Run Scripts Commands

Description

There are four methods to execute scripts (and Pinnacle string commands). Two methods allow the use of outside scripting languages (bash, python, perl, etc) and two methods utilize Pinnacle’s internal scripting language. Execute will run a command stored in a string, ExecuteNow runs a separate Pinnacle script file, SpawnCommand gives control to the operating system and allows external scripts to execute while the pinnacle script waits, and SpawnCommandNoWait does the same thing, but allows the Pinnacle script to continue running in parallel with the with the external script.

Examples

  • Execute: runs a command stored in a string
  • ExecuteNow: runs a separate Pinnacle script file
  • SpawnCommand: gives control to the operating system and allows external scripts to execute while the pinnacle script pauses
  • SpawnCommandNoWait: gives control to the operating system, but the Pinnacle script will continue to execute in parallel with the external script.