ph_run PowerHome formula function
Description
Execute a program
Syntax
ph_run ( filespec )
Argument Description
filespec String representing the full path and filename of the program to be executed. Command line parameters can be included within this string.
Return value
Integer. Returns a 1 if successful and –1 if an error occurs.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_run("C:\powerhome\findMyPhone.exe 192.168.1.92 C:/powerhome/findMyPhone.txt")
• ph_run("C:\powerhome\jsonBI.exe login http://192.168.1.90:1002/json login password; camconfig pause ThtrCam -1")   { Includes Command LIne Parameters (from the "/" on) }