¡@

Home 

javascript Programming Glossary: run_cmd

node.js shell command execution

http://stackoverflow.com/questions/14458508/node-js-shell-command-execution

reason I get undefined printed to the console... function run_cmd cmd args cb var spawn require 'child_process' .spawn var child.. child.stdout.on 'data' function me data cb me data foo new run_cmd 'dir' ' B' function me data me.stdout data console.log foo.stdout.. Can someone help me understand why try_this works and run_cmd does not FWIW I need to use child_process.spawn because child_process.exec..