@@ -5578,6 +5578,9 @@ msgid ""
55785578":c:macro:`!POSIX_SPAWN_SETSID_NP` flag. Otherwise, "
55795579":exc:`NotImplementedError` is raised."
55805580msgstr ""
5581+ "如果 *setsid* 参数为 ``True``,它将为 ``posix_spawn`` 新建一个会话 ID。 *setsid* 需要 "
5582+ ":c:macro:`!POSIX_SPAWN_SETSID` 或 :c:macro:`!POSIX_SPAWN_SETSID_NP` 旗标。 "
5583+ "否则,将会引发 :exc:`NotImplementedError`。"
55815584
55825585#: ../../library/os.rst:4397
55835586msgid ""
@@ -5586,13 +5589,17 @@ msgid ""
55865589"parent's signal mask. This argument corresponds to the C library "
55875590":c:macro:`!POSIX_SPAWN_SETSIGMASK` flag."
55885591msgstr ""
5592+ "*setsigmask* 参数会将信号掩码设置为指定的信号集合。 如果未使用该参数,则子进程将继承父进程的信号掩码。 本参数对应于 C 库的 "
5593+ ":c:macro:`!POSIX_SPAWN_SETSIGMASK` 旗标。"
55895594
55905595#: ../../library/os.rst:4402
55915596msgid ""
55925597"The *sigdef* argument will reset the disposition of all signals in the set "
55935598"specified. This argument corresponds to the C library "
55945599":c:macro:`!POSIX_SPAWN_SETSIGDEF` flag."
55955600msgstr ""
5601+ "*sigdef* 参数会将集合中所有信号的操作全部重置为默认。 本参数对应于 C 库的 "
5602+ ":c:macro:`!POSIX_SPAWN_SETSIGDEF` 旗标。"
55965603
55975604#: ../../library/os.rst:4406
55985605msgid ""
@@ -5603,6 +5610,10 @@ msgid ""
56035610"C library :c:macro:`!POSIX_SPAWN_SETSCHEDPARAM` and "
56045611":c:macro:`!POSIX_SPAWN_SETSCHEDULER` flags."
56055612msgstr ""
5613+ "*scheduler* 参数必须是一个元组,其中包含(可选的)调度器策略以及携带了调度器参数的 :class:`sched_param` 实例。 "
5614+ "在调度器策略所在位置的值为 ``None`` 表示未提供该值。 本参数是 C 库的 "
5615+ ":c:macro:`!POSIX_SPAWN_SETSCHEDPARAM` 和 :c:macro:`!POSIX_SPAWN_SETSCHEDULER`"
5616+ " 旗标的组合。"
56065617
56075618#: ../../library/os.rst:4413 ../../library/os.rst:4429
56085619msgid ""
@@ -5835,6 +5846,8 @@ msgid ""
58355846":program:`start` command from the interactive command shell: the file is "
58365847"opened with whatever application (if any) its extension is associated."
58375848msgstr ""
5849+ "当未指定 *operation* 时,这类似于在 Windows 资源管理器中双击文件,或在交互式命令行中将文件名作为 :program:`start`"
5850+ " 命令的参数:通过扩展名所关联的应用程序(如果有的话)来打开文件。"
58385851
58395852#: ../../library/os.rst:4589
58405853msgid ""
0 commit comments