开发者

getting the return value of a command using ACE in c++

I need to run a shell command on Linux from within a c++ process and get its return v开发者_如何转开发alue. Is there a way doing it with ACE? I know that in c++ I can use popen. I am looking for an ACE solution.


Assuming ACE is Adaptive Communication Environment, it looks like you need to call ACE_Process::return_value. ACE_Process doc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜