【问题标题】:linux equivalent command for FindExecutablePathFindExecutablePath 的 linux 等效命令
【发布时间】:2014-10-15 15:09:14
【问题描述】:

我想检查 linux(redhat 6.4) 是否安装了浏览器,如果安装了我想在浏览器中启动帮助文档(.html 文件)。否则我想以 pdf 格式启动帮助文档。

谁能建议我如何在 C++ 中执行上述场景,wxwidgets。

【问题讨论】:

    标签: c++ linux wxwidgets


    【解决方案1】:

    请参阅 wxWidgets Wiki 上的 Launching the Default Browser,其中提供了使用 wxFileType 类和 GetOpenCommand() 的示例。

    还有wxLaunchDefaultApplication()wxLaunchDefaultBrowser()

    【讨论】:

      猜你喜欢
      • 2020-07-01
      • 2012-08-29
      • 2021-06-07
      • 1970-01-01
      • 2019-08-16
      • 1970-01-01
      • 1970-01-01
      • 2010-09-08
      • 1970-01-01
      相关资源
      最近更新 更多