const child = require('child_process').exec;
child('notepad', function(err, data) {});//打开记事本
child('calc', function(err, data) {});//打开计算器

 

相关文章:

  • 2021-09-22
  • 2021-12-01
  • 2021-09-08
  • 2022-12-23
  • 2021-12-18
  • 2021-10-27
  • 2022-12-23
  • 2021-05-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-01-26
相关资源
相似解决方案