Invoking System Utilities
Here, you'll learn how to invoke system utilities!
We'll cover the following...
child_process
#
Now that mogrify
is available to your Lambda function, you can change the source code for the conversion function to execute it.
To start a command-line utility from JavaScript, you’ll need to use the Node.js child process features.
The spawn
function from the Node.js child_process
module uses callbacks. You ...