Skip to content

ExecFile

Narta Xaymar Dirks edited this page Nov 25, 2026 · 9 revisions

ExecFile BlitzBasic

ExecFile:Void command:String
Parameter Mode Type Default Description
command In 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 BlitzBasic, DebugLog BlitzBasic, GetEnv BlitzBasic, ProfileBegin BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally