execFile

abstract fun execFile(file: Value, args: Value?, options: Value?, callback: Value?): ChildProcess

Exec File

Guest-side implementation of Node's execFile method, which is used to execute commands via child processes using a shell and a specific file.

Return

Child process handle which was spawned using the provided file, args, and options inputs.

Parameters

file

Path or URL to the file to execute.

args

Arguments to specify for the command.

options

Options for the process execution, or null (undefined in JavaScript).

callback

Callback to invoke when the process completes.