← All docs

passthru()

Executes an external program and passes its output directly.

passthru()

function passthru(string $command): void

Executes an external program and passes its output directly.

Parameters:

  • $command (string)

Returns: void

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

Internals

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