2017-11-24 556 views

答えて

0

のサーバー側JavaScript()は、child_processモジュールの.exec()機能を使用できます。例えば

require('child_process').exec('ls', 
    function (err, stdout, stderr) { 
     console.log(stdout); 

     if (err) { 
      console.log('Error ' + err); 
     } 
    }); 

は、ノードPowerShellはあなたの友達です

関連する問題