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.

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.

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

Arguments: See Table 26 for LaunchProcess method arguments.

Return Value: Returns a long value.

Table 26. 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.

Siebel Analytics Scheduler Guide