Skip to content

ExecFile

Narta Xaymar Dirks edited this page Oct 27, 2026 · 7 revisions

Blitz3DBlitzPlusBlitzBasic

ExecFile

ExecFile command:String
Parameter Type Default Description
command String required The command line to run. It is run by the system shell.

Returns: 1 when the command ran and ended without an error, otherwise 0.

Description

Runs a command or another program and waits until it ends.

Examples

Print ExecFile("this-program-does-not-exist")
0

Related Commands

CommandLine, DebugLog, GetEnv, RuntimeError

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

Clone this wiki locally