RunProgram()

Syntax

Result = RunProgram(FileName$, Parameter$, Flags)

Description

Launch an external program. The 'FileName$' should include its path. If the returned 'Result' is 0, the command can't be launched.

Possible value for Flags:
0: No flags
1: Wait until the launched program quits
2: Launch the program in invisible mode

To use several option at once, you have to use the '|' (OR) operator. Example for invisible program and wait until it quits:

RunProgram(FileName$, Parameter$, 1 | 2)

Supported OS

Windows, AmigaOS, Linux

Misc - Index