daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var cmd = 'wget -O output.csv URL';
  2. var child = exec(
  3.   cmd,
  4.   function (error, stdout, stderr) {
  5.     console.log('stdout: ' + stdout);
  6.     console.log('stderr: ' + stderr);
  7.     if (error !== null) {
  8.       console.log('exec error: ' + error);
  9.     }
  10.   }
  11. );
RAW Paste Data
Top