Skip to main content
Skip table of contents

f$WaitExecute


f$WaitExecute

Execute another system application. Arguments can be entered additionally if the target application allows that. The decision tables stop being executed until the application is closed (unlike with f$Application).

Activating an application via a document, e.g. opening Microsoft Word through a file with the extension ".doc", is not possible here. However, the f$Execute function can be used for this (although without stopping executing decision tables).

Please note that, when entering a path in the file name, the character "\" must be entered twice ("\\").

Syntax:

Status = f$WaitExecute( Command )

 

Argument

Type

Meaning

 

Command

String

Program name including path entry and arguments

Result:

Integer

Error status (0= not successful), error status can be retrieved with f$GetErrorCode.

Example:

Start a data transfer program and wait until it is finished executing:
Status = f$WaitExecute( 'c:\\transfer\\transfer.exe transfer.txt' )

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.