Siebel Analytics Scheduler Guide > Configuring Siebel Analytics Scheduler Job Scripts > Analytics Scheduler Script Object Methods and Events >

LaunchProcess Method


Executes a command line in a new process.

Syntax

exitcode = LaunchProcess ( commandLine [, wait, terminateOnCancel] )

Arguments

Arguments for LaunchProcess method are shown in Table 29.

Table 29. LaunchProcess Method Arguments
Argument
Description

commandLine

A string that specifies the command line to execute.

wait

(Optional) A Boolean value that specifies whether the method should wait for the process to terminate. The default is True.

terminateOnCancel

(Optional) A Boolean value that specifies whether the method should terminate the process when the script is canceled. The default is True.

Return Value

Returns a long value.

Usage

Call this method to execute a command line in a new process. If wait is set to True, this method returns the exit code returned by the process.

Siebel Analytics Scheduler Guide