Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c4be80

Browse files
[po] auto sync
1 parent d305f9d commit 2c4be80

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

library/os.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4341,13 +4341,19 @@ msgid ""
43414341
":func:`os.path.normpath` function to ensure that the path is properly "
43424342
"encoded for Win32."
43434343
msgstr ""
4344+
"关联的应用程序启动后 :func:`startfile` 就会立即返回。本函数没有等待应用程序关闭的选项,也没有办法检索应用程序的退出状态。*path*"
4345+
" 参数是基于当前目录的相对路径。如果要使用绝对路径,请确保第一个字符不是斜杠 (``'/'``),是斜杠的话底层的 Win32 "
4346+
":c:func:`ShellExecute` 函数将失效。使用 :func:`os.path.normpath` 函数确保路径已针对 Win32 "
4347+
"正确编码。"
43444348

43454349
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3555
43464350
msgid ""
43474351
"To reduce interpreter startup overhead, the Win32 :c:func:`ShellExecute` "
43484352
"function is not resolved until this function is first called. If the "
43494353
"function cannot be resolved, :exc:`NotImplementedError` will be raised."
43504354
msgstr ""
4355+
"为了减少解释器的启动开销,直到第一次调用本函数后,才解析 Win32 :c:func:`ShellExecute` 函数。如果无法解析该函数​​,则抛出"
4356+
" :exc:`NotImplementedError` 异常。"
43514357

43524358
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3564
43534359
msgid ""
@@ -4357,6 +4363,8 @@ msgid ""
43574363
"environment of the executed command. If *command* generates any output, it "
43584364
"will be sent to the interpreter standard output stream."
43594365
msgstr ""
4366+
"在子 shell 中执行命令(字符串)。这是调用标准 C 函数 :c:func:`system` 来实现的,因此限制条件与该函数相同。对 "
4367+
":data:`sys.stdin` 等的更改不会反映在执行命令的环境中。*command* 产生的任何输出将被发送到解释器标准输出流。"
43604368

43614369
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3570
43624370
msgid ""
@@ -4365,6 +4373,8 @@ msgid ""
43654373
"meaning of the return value of the C :c:func:`system` function, so the "
43664374
"return value of the Python function is system-dependent."
43674375
msgstr ""
4376+
"在 Unix 上,返回值是进程的退出状态,编码格式与为 :func:`wait` 指定的格式相同。注意,POSIX 没有指定 C 函数 "
4377+
":c:func:`system` 返回值的含义,因此 Python 函数的返回值与系统有关。"
43684378

43694379
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3575
43704380
msgid ""
@@ -4374,6 +4384,9 @@ msgid ""
43744384
"status of the command run; on systems using a non-native shell, consult your"
43754385
" shell documentation."
43764386
msgstr ""
4387+
"在 Windows 上,返回值是运行 *command* 后系统 Shell 返回的值。该 Shell 由 Windows 环境变量 "
4388+
":envvar:`COMSPEC`: 给出:通常是 :program:`cmd.exe`,它会返回命令的退出状态。在使用非原生 Shell "
4389+
"的系统上,请查阅 Shell 的文档。"
43774390

43784391
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3581
43794392
msgid ""

0 commit comments

Comments
 (0)