← All docs

system()

Executes an external program and displays the output.

system()

function system(string $command): string

Executes an external program and displays the output.

Parameters:

  • $command (string)

Returns: string

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how system is implemented in the compiler, see the internals page.