LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.CreateProcess

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax

value = lp.CreateProcess("exe_name",debug_mode)

Description

Start a program

Parameters

exe_name - The name of the executable file with its path and command line parameters

debug_mode - 0 not in visible mode, w1 window is visible

Return Values

value : 1 if succeeded, return nil if an error occurs

Example

lp.CreateProcess('notepad.exe',1)



www.loriotpro.com