Python文档引用“C函数等待”文档。哪里是? [英] Python Documentation Refers You To Docs for "the C function wait." Where is that?

查看:150
本文介绍了Python文档引用“C函数等待”文档。哪里是?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Python文档中有多个地方将其引用到C函数等待。例如:命令的退出状态可以根据C函数等待的规则来解释,在命令子流程模块。

There's multiple places in the Python documentation where it refers you to the C function "wait." For instance: "The exit status for the command can be interpreted according to the rules for the C function wait," in the commands and subprocess modules.

我在哪里可以找到这个文件?显然,我的Google-fu还不够强大,或者晚上晚了,我很笨。 (但我认为这可能是一个应该在Stack Overflow中的问题。)

Where can I find this documentation? Apparently my Google-fu is not strong enough, or it's late enough at night that I'm being dumb. (But I figure this is probably a question that should be in Stack Overflow anyway.)

推荐答案

以下是一些Linux的在线页面...

Here are some online pages for Linux...

http://manpages.ubuntu.com/manpages/jaunty/en/man2/wait.2.html

有时候BSD页面有更少的扩展。它们并不总是更接近纯posix,但它们有时更为共同的特征。

Sometimes the BSD pages have fewer extensions. They aren't always closer to pure posix but they are sometimes more "common denominator unix".

http://netbsd.gw.com/cgi-bin/man-cgi?wait+2+NetBSD-current <一个>

http://netbsd.gw.com/cgi-bin/man-cgi?wait+2+NetBSD-current

有一个时间,$ code> man 2等待将给你每个unix框的答案。然而,这些天,手册页通常是一个可选的包,您将不得不追捕,或至少识别其名称。因为这些随着时间的推移而稍微改变,它们与操作系统的给定版本相关联,所以没有中央权限。对于典型的使用脚本语言的过程管理,您可能希望实际检查各种标准机构之一,也许在 http://www.opengroup.org/onlinepubs/009695399/functions/wait.html 最后,我应该补充一点,你可以在windows上获得这些cygwin。

There was a time that man 2 wait would give you the answer on every unix box. However, these days the man pages are typically an optional package which you will have to hunt down, or at least identify its name. Because these change slightly over time they are associated with a given release of the OS, so there is no central authority. For typical use today in process management with scripting languages you may want to actually check with one of the various standards bodies, perhaps at http://www.opengroup.org/onlinepubs/009695399/functions/wait.html Finally, I should add that you can get these for cygwin on windows.

这篇关于Python文档引用“C函数等待”文档。哪里是?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆