@@ -4276,6 +4276,8 @@ msgid ""
42764276":func:`spawn\\ *` functions will return as soon as the new process has been "
42774277"created, with the process id as the return value."
42784278msgstr ""
4279+ ":func:`spawn\\ * <spawnl>` 系列函数的 *mode* 参数的可取值。如果给出这些值中的任何一个,则 "
4280+ ":func:`spawn\\ *` 函数将在创建新进程后立即返回,且返回值为进程号。"
42794281
42804282#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3512
42814283msgid ""
@@ -4285,6 +4287,8 @@ msgid ""
42854287"will return the exit code of the process the run is successful, or "
42864288"``-signal`` if a signal kills the process."
42874289msgstr ""
4290+ ":func:`spawn\\ * <spawnl>` 系列函数的 *mode* 参数的可取值。如果将 *mode* 指定为该值,则 "
4291+ ":func:`spawn\\ *` 函数将在新进程运行完毕后返回,运行成功则返回进程的退出代码,被信号终止则返回 ``-signal``。"
42884292
42894293#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3524
42904294msgid ""
@@ -4295,10 +4299,14 @@ msgid ""
42954299"used, the current process will be replaced; the :func:`spawn\\ * <spawnl>` "
42964300"function will not return."
42974301msgstr ""
4302+ ":func:`spawn\\ * <spawnl>` 系列函数的 *mode* "
4303+ "参数的可取值。它们比上面列出的值可移植性差。:const:`P_DETACH` 与 :const:`P_NOWAIT` "
4304+ "相似,但是新进程会与父进程的控制台脱离。使用 :const:`P_OVERLAY` 则会替换当前进程,:func:`spawn\\ * <spawnl>`"
4305+ " 函数将不会返回。"
42984306
42994307#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3535
43004308msgid "Start a file with its associated application."
4301- msgstr ""
4309+ msgstr "使用已关联的应用程序打开文件。 "
43024310
43034311#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3537
43044312msgid ""
@@ -4308,6 +4316,8 @@ msgid ""
43084316" the file is opened with whatever application (if any) its extension is "
43094317"associated."
43104318msgstr ""
4319+ "当 *operation* 未指定或指定为 ``'open'`` 时,这类似于在 Windows 资源管理器中双击文件,或在交互式命令行中将文件名作为 "
4320+ ":program:`start` 命令的参数:通过扩展名相关联的应用程序(如果有)打开文件。"
43114321
43124322#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3542
43134323msgid ""
@@ -4316,6 +4326,9 @@ msgid ""
43164326"Microsoft are ``'print'`` and ``'edit'`` (to be used on files) as well as "
43174327"``'explore'`` and ``'find'`` (to be used on directories)."
43184328msgstr ""
4329+ "当指定另一个 *operation* 时,它必须是一个“命令动词” (\" command verb\" ),该词指定对文件执行的操作。Microsoft "
4330+ "文档中的常用动词有 ``'print'`` 和 ``'edit'`` (用于文件),以及 ``'explore'`` 和 ``'find'`` "
4331+ "(用于目录)。"
43194332
43204333#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3547
43214334msgid ""
0 commit comments