Oracle® Business Intelligence Scheduler Guide > Using Oracle BI Scheduler Job Scripts > Oracle BI Scheduler Script Object Methods and Events >

LaunchProcess Method


This topic is part of Oracle BI Scheduler Script Object Methods and Events.

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: Refer to Table 27 for LaunchProcess method arguments.

Return Value: Returns a long value.

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

Oracle® Business Intelligence Scheduler Guide Copyright © 2007, Oracle. All rights reserved.