function execute(command) { const exec = require('child_process').exec exec(command, (err, stdout, stderr) => { process.stdout.write(stdout) }) } execute('echo "Hello World!"')
This discussion is closed and is not accepting new comments.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.