UNPKG

@cam-o-man/simpleshell

Version:

A simple function that allows users to run commands directly from JavaScript.

5 lines (4 loc) 126 B
const shell = require('child_process'); exports.execute = function(command, args) { return shell.spawn(command, args); };