Skip to main content
ChildProcess.prototype.spawnfile - child_process - Node documentation
property ChildProcess.prototype.spawnfile

Usage in Deno

import { ChildProcess } from "node:child_process";

The subprocess.spawnfile property indicates the executable file name of the child process that is launched.

For fork, its value will be equal to process.execPath. For spawn, its value will be the name of the executable file. For exec, its value will be the name of the shell in which the child process is launched.

Type

string