Skip to content
Snippets Groups Projects
Commit 4ebda86c authored by Dylan Hicks's avatar Dylan Hicks
Browse files

Created a wrapper around child_process.execFile() that runs a command as a...

Created a wrapper around child_process.execFile() that runs a command as a different user via (hopefully safe) sudo, while also sanity checking the parameters (eg. username) it feeds the sudo command. Further testing is needed, however.
parent 7bc0be5e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment