#include <QProcess>

/*执行shell脚本,通过脚本启动其他应用*/
QString fileName = "zebra_zebra_zebra";
QString command = QString("/home/yk/QtPro/ShowTime/aa.sh %1").arg(fileName);
proc->startDetached(command);

 

相关文章:

  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2021-07-14
  • 2021-05-18
  • 2022-01-10
猜你喜欢
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2021-11-07
  • 2022-02-05
相关资源
相似解决方案