Navigation: battleWarden:Script > API Reference >

Process

 

 

The process module provides a small API for running external processes on the operating system.

Process Module API

Syntax

Parameters

Return Value

Description

RunProcess(programName AS STRING, parameter AS STRING, workingDirectory AS STRING, flags AS STRING) AS VOID

programName: name of the process to run.

 

parameter: command-line parameters to be passed to the program.

 

workingDirectory: working directory of the running program.

 

flags: can contain "-wait" (waits until program exits) and "-hide" (starts the program in hidden mode).

none

Runs a new process.

Copyright © 2020 solicus. All Rights Reserved. Last Update: 2020-5-25.