Builder

constructor(executable: File)(source)

Alternate constructor for an executable File. Will take the absolute + normalized path to use for command.


constructor(command: String)(source)

Parameters

command

The command to run. On Native Linux, macOS and iOS, if command is a relative file path or program name (e.g. ping) then posix_spawnp is utilized. If it is an absolute file path (e.g. /usr/bin/ping), then posix_spawn is utilized.