execFile()

The node:child_process function that runs a program directly, without a shell, and buffers its output.

In more detail

Arguments go in an array, so special characters in them are never interpreted. Use it instead of exec() whenever arguments come from users.

Related terms

Taught in

References