Pspawnfile
Bun

property

child_process.ChildProcessWithoutNullStreams.spawnfile

readonly spawnfile: string

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.