Can I use boost library for crossplatform application executing?(我可以使用 boost 库来执行跨平台应用程序吗?)
问题描述
boost (c++) 库中是否有任何 WinAPI WinExec 模拟?我需要从我的程序运行可执行文件,并将参数传递给它.我应该为此使用任何其他跨平台库,还是自己处理我的程序编译用于什么操作系统?
Is there any WinAPI WinExec analog in boost (c++) libraries? I need to run executable from my program, and pass parameters to it. Should I use any other cross-platform libraries for this, or handle myself what OS my program is compiled for?
推荐答案
你可能想看看这个关于 win32 上的 popen() 的问题:popen
You might want to take a look at this question regarding popen() on win32: popen
这篇关于我可以使用 boost 库来执行跨平台应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我可以使用 boost 库来执行跨平台应用程序吗?
基础教程推荐
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- 初始化列表*参数*评估顺序 2021-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- CString 到 char* 2021-01-01
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
