POCO C ++库文档中是否有错误?

时间:2009-10-17 14:47:53

标签: c++ poco-libraries

Here是令人困惑的页面。搜索“/ bin / ps”。 该行是:

ProcessHandle ph(launch("/bin/ps", args, &outPipe, 0, 0));

不应该是:

ProcessHandle ph(launch("/bin/ps", args, 0, &outPipe, 0));

2 个答案:

答案 0 :(得分:2)

是的,你的观察得到了证实 - 最后三个args的顺序确实是stdin,stdout,stderr,所以docs中的outPipe错误地被作为输入传递。我没有比你更多的想法,这个文档错误怎么可能被忽视了! - )

答案 1 :(得分:1)

这将在1.3.6中修复。