localExecutorfunctionfunction localExecutor(): ExecutorThe executor that runs a program on this machine.
The local target (commons headless 0005-reach-and-targets FR-004; 0007-ssh-coverage FR-003, FR-004): an Executor that runs the program here, through the system's proc. It adds nothing and takes nothing away: the options and the output are proc's own, so a command run here is the command run anywhere else, with only the executor changed. put and get copy files with the system's file functions (no shell), and spawn starts the program with piped streams.
import { localExecutor } from "@intellectual-frontiers/headless/targets/local";
// const out = await localExecutor().exec(["git", "--version"]);localExecutorfunctionfunction localExecutor(): ExecutorThe executor that runs a program on this machine.