# ExecutableHasTerminated

int ExecutableHasTerminated (int executableHandle);

## Purpose

Determines whether an application started with LaunchExecutableEx has terminated.

## Parameters

Input
Name | Type | Description
executableHandle | integer | Executable handle you obtain from LaunchExecutableEx.

## Return Value

Name | Type | Description
status | integer | Result of the operation.
Code | Description
-1 | Handle is invalid.
0 | Executable is still running.
1 | Executable has been terminated.