Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

property ChildProcess.prototype.spawnfile

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