-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathasyncio-subprocess.po
607 lines (535 loc) · 28.1 KB
/
asyncio-subprocess.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2020, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# tomo, 2018
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-09 18:48+0900\n"
"PO-Revision-Date: 2018-06-29 17:27+0000\n"
"Last-Translator: tomo, 2018\n"
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/asyncio-subprocess.rst:6
msgid "Subprocess"
msgstr "サブプロセス"
#: ../../library/asyncio-subprocess.rst:8
msgid "**Source code:** :source:`Lib/asyncio/subprocess.py`"
msgstr "**ソースコード:** :source:`Lib/asyncio/subprocess.py`"
#: ../../library/asyncio-subprocess.rst:11
msgid "Windows event loop"
msgstr "Windows でのイベントループ"
#: ../../library/asyncio-subprocess.rst:13
msgid ""
"On Windows, the default event loop is :class:`SelectorEventLoop` which does "
"not support subprocesses. :class:`ProactorEventLoop` should be used instead. "
"Example to use it on Windows::"
msgstr ""
"Windows では、デフォルトのイベントループは :class:`SelectorEventLoop` になり"
"ますが、これはサブプロセスをサポートしていません。代わりに :class:"
"`ProactorEventLoop` を使用します。Windows で使用する例::"
#: ../../library/asyncio-subprocess.rst:25
msgid ""
":ref:`Available event loops <asyncio-event-loops>` and :ref:`Platform "
"support <asyncio-platform-support>`."
msgstr ""
":ref:`利用可能なイベントループ <asyncio-event-loops>` および :ref:`プラット"
"フォームでのサポート <asyncio-platform-support>`。"
#: ../../library/asyncio-subprocess.rst:30
msgid "Create a subprocess: high-level API using Process"
msgstr "サブプロセスの作成: Process を使用した高水準 API"
#: ../../library/asyncio-subprocess.rst:34
msgid "Create a subprocess."
msgstr "サブプロセスを作成します。"
#: ../../library/asyncio-subprocess.rst:36
msgid ""
"The *limit* parameter sets the buffer limit passed to the :class:"
"`StreamReader`. See :meth:`AbstractEventLoop.subprocess_exec` for other "
"parameters."
msgstr ""
"*limit* 引数で :class:`StreamReader` に渡すバッファリミットを設定します。他の"
"引数については :meth:`AbstractEventLoop.subprocess_exec` を参照してください。"
#: ../../library/asyncio-subprocess.rst:40
#: ../../library/asyncio-subprocess.rst:52
msgid "Return a :class:`~asyncio.subprocess.Process` instance."
msgstr ":class:`~asyncio.subprocess.Process` のインスタンスを返します。"
#: ../../library/asyncio-subprocess.rst:42
#: ../../library/asyncio-subprocess.rst:61
msgid "This function is a :ref:`coroutine <coroutine>`."
msgstr "この関数は :ref:`コルーチン <coroutine>` です。"
#: ../../library/asyncio-subprocess.rst:46
msgid "Run the shell command *cmd*."
msgstr "シェルコマンド *cmd* を実行します。"
#: ../../library/asyncio-subprocess.rst:48
msgid ""
"The *limit* parameter sets the buffer limit passed to the :class:"
"`StreamReader`. See :meth:`AbstractEventLoop.subprocess_shell` for other "
"parameters."
msgstr ""
"*limit* 引数で :class:`StreamReader` に渡すバッファリミットを設定します。他の"
"引数については :meth:`AbstractEventLoop.subprocess_shell` を参照してくださ"
"い。"
#: ../../library/asyncio-subprocess.rst:54
#: ../../library/asyncio-subprocess.rst:137
msgid ""
"It is the application's responsibility to ensure that all whitespace and "
"metacharacters are quoted appropriately to avoid `shell injection <https://"
"en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_ vulnerabilities. "
"The :func:`shlex.quote` function can be used to properly escape whitespace "
"and shell metacharacters in strings that are going to be used to construct "
"shell commands."
msgstr ""
"`シェルインジェクション <https://en.wikipedia.org/wiki/"
"Shell_injection#Shell_injection>`_ の脆弱性を回避するために、すべての空白文字"
"およびメタ文字を適切にクオートすることはアプリケーション側の責任です。\n"
":func:`shlex.quote` 関数は、シェルコマンドで使用される文字列内の、空白文字と"
"シェルのメタ文字の適切なエスケープに使用できます。"
#: ../../library/asyncio-subprocess.rst:63
msgid ""
"Use the :meth:`AbstractEventLoop.connect_read_pipe` and :meth:"
"`AbstractEventLoop.connect_write_pipe` methods to connect pipes."
msgstr ""
"パイプに接続するには :meth:`AbstractEventLoop.connect_read_pipe` および :"
"meth:`AbstractEventLoop.connect_write_pipe` メソッドを使用します。"
#: ../../library/asyncio-subprocess.rst:68
msgid "Create a subprocess: low-level API using subprocess.Popen"
msgstr "サブプロセスの作成: subprocess.Popen を使用した低水準 API"
#: ../../library/asyncio-subprocess.rst:70
msgid "Run subprocesses asynchronously using the :mod:`subprocess` module."
msgstr ""
":mod:`subprocess` モジュールを使用して非同期にサブプロセスを実行します。"
#: ../../library/asyncio-subprocess.rst:74
msgid ""
"Create a subprocess from one or more string arguments (character strings or "
"bytes strings encoded to the :ref:`filesystem encoding <filesystem-"
"encoding>`), where the first string specifies the program to execute, and "
"the remaining strings specify the program's arguments. (Thus, together the "
"string arguments form the ``sys.argv`` value of the program, assuming it is "
"a Python script.) This is similar to the standard library :class:`subprocess."
"Popen` class called with shell=False and the list of strings passed as the "
"first argument; however, where :class:`~subprocess.Popen` takes a single "
"argument which is list of strings, :func:`subprocess_exec` takes multiple "
"string arguments."
msgstr ""
"1 個以上の文字列引数 (:ref:`ファイルシステムエンコーディング <filesystem-"
"encoding>` にエンコードされた文字列またはバイト列) からサブプロセスを作成しま"
"す。先頭の文字列で実行するプログラムを指定し、残りの文字列でプログラムの引数"
"を指定します (それが Python スクリプトであれば、``sys.argv`` の値に相当しま"
"す)。これは標準ライブラリの :class:`subprocess.Popen` クラスが shell=False で"
"呼び出され、文字列のリストが第 1 引数として渡されたときと似ていますが、:"
"class:`~subprocess.Popen` が引数として文字列のリストを 1 個取るのに対し、:"
"func:`subprocess_exec` 引数として複数の文字列を取ります。"
#: ../../library/asyncio-subprocess.rst:85
#: ../../library/asyncio-subprocess.rst:128
msgid ""
"The *protocol_factory* must instantiate a subclass of the :class:`asyncio."
"SubprocessProtocol` class."
msgstr ""
"*protocol_factory* はクラス :class:`asyncio.SubprocessProtocol` のサブクラス"
"を作成しなくてはなりません。"
#: ../../library/asyncio-subprocess.rst:88
msgid "Other parameters:"
msgstr "その他の引数:"
#: ../../library/asyncio-subprocess.rst:90
msgid ""
"*stdin*: Either a file-like object representing the pipe to be connected to "
"the subprocess's standard input stream using :meth:`~AbstractEventLoop."
"connect_write_pipe`, or the constant :const:`subprocess.PIPE` (the default). "
"By default a new pipe will be created and connected."
msgstr ""
"*stdin*: :meth:`~AbstractEventLoop.connect_write_pipe` を使用してサブプロセス"
"の標準入力ストリームに接続されたパイプを表すファイルライクオブジェクト、もし"
"くは定数 :const:`subprocess.PIPE` (デフォルト) のどちらかになります。\n"
"デフォルトでは、パイプが新しく作成され、接続されます。"
#: ../../library/asyncio-subprocess.rst:96
msgid ""
"*stdout*: Either a file-like object representing the pipe to be connected to "
"the subprocess's standard output stream using :meth:`~AbstractEventLoop."
"connect_read_pipe`, or the constant :const:`subprocess.PIPE` (the default). "
"By default a new pipe will be created and connected."
msgstr ""
"*stdout*: :meth:`~AbstractEventLoop.connect_read_pipe`, を使用してサブプロセ"
"スの標準出力ストリームに接続されたパイプを表すファイルライクオブジェクト、も"
"しくは定数 :const:`subprocess.PIPE` (デフォルト) のどちらかになります。\n"
"デフォルトでは、パイプが新しく作成され、接続されます。"
#: ../../library/asyncio-subprocess.rst:102
msgid ""
"*stderr*: Either a file-like object representing the pipe to be connected to "
"the subprocess's standard error stream using :meth:`~AbstractEventLoop."
"connect_read_pipe`, or one of the constants :const:`subprocess.PIPE` (the "
"default) or :const:`subprocess.STDOUT`. By default a new pipe will be "
"created and connected. When :const:`subprocess.STDOUT` is specified, the "
"subprocess's standard error stream will be connected to the same pipe as the "
"standard output stream."
msgstr ""
"*stderr*: :meth:`~AbstractEventLoop.connect_read_pipe` を使用してサブプロセス"
"の標準エラー出力ストリームに接続されたパイプを表すファイルライクオブジェク"
"ト、もしくは定数 :const:`subprocess.PIPE` (デフォルト) と定数 :const:"
"`subprocess.STDOUT` のどちらかになります。\n"
"デフォルトでは、パイプが新しく作成され、接続されます。\n"
":const:`subprocess.STDOUT` が指定された場合、サブプロセスの標準エラー出力スト"
"リームは標準出力ストリームと同じパイプに接続されます。"
#: ../../library/asyncio-subprocess.rst:110
msgid ""
"All other keyword arguments are passed to :class:`subprocess.Popen` without "
"interpretation, except for *bufsize*, *universal_newlines* and *shell*, "
"which should not be specified at all."
msgstr ""
"その他のキーワード引数は、指定してはならない *bufsize*、*universal_newlines* "
"および *shell* を除き、すべて解釈されずに :class:`subprocess.Popen` に渡され"
"ます。"
#: ../../library/asyncio-subprocess.rst:114
#: ../../library/asyncio-subprocess.rst:134
msgid ""
"Returns a pair of ``(transport, protocol)``, where *transport* is an "
"instance of :class:`BaseSubprocessTransport`."
msgstr ""
"``(transport, protocol)`` のペアを返します。*transport* は :class:"
"`BaseSubprocessTransport` のインスタンスです。"
#: ../../library/asyncio-subprocess.rst:117
#: ../../library/asyncio-subprocess.rst:144
#: ../../library/asyncio-subprocess.rst:206
#: ../../library/asyncio-subprocess.rst:234
msgid "This method is a :ref:`coroutine <coroutine>`."
msgstr "このメソッドは :ref:`コルーチン <coroutine>` です。"
#: ../../library/asyncio-subprocess.rst:119
msgid ""
"See the constructor of the :class:`subprocess.Popen` class for parameters."
msgstr ""
"引数については :class:`subprocess.Popen` クラスのコンストラクタを参照してくだ"
"さい。"
#: ../../library/asyncio-subprocess.rst:123
msgid ""
"Create a subprocess from *cmd*, which is a character string or a bytes "
"string encoded to the :ref:`filesystem encoding <filesystem-encoding>`, "
"using the platform's \"shell\" syntax. This is similar to the standard "
"library :class:`subprocess.Popen` class called with ``shell=True``."
msgstr ""
"プラットフォームの \"シェル\" 構文を使用して *cmd* (:ref:`ファイルシステムエ"
"ンコーディング <filesystem-encoding>` にエンコードされた文字列またはバイト"
"列) からサブプロセスを作成します。これは標準ライブラリ :class:`subprocess."
"Popen` クラスを ``shell=True`` で呼び出したときと似ています。"
#: ../../library/asyncio-subprocess.rst:131
msgid ""
"See :meth:`~AbstractEventLoop.subprocess_exec` for more details about the "
"remaining arguments."
msgstr ""
"その他の引数についての詳細は :meth:`~AbstractEventLoop.subprocess_exec` を参"
"照してください。"
#: ../../library/asyncio-subprocess.rst:148
msgid ""
"The :meth:`AbstractEventLoop.connect_read_pipe` and :meth:`AbstractEventLoop."
"connect_write_pipe` methods."
msgstr ""
":meth:`AbstractEventLoop.connect_read_pipe` および :meth:`AbstractEventLoop."
"connect_write_pipe` メソッド。"
#: ../../library/asyncio-subprocess.rst:153
msgid "Constants"
msgstr "定数"
#: ../../library/asyncio-subprocess.rst:157
msgid ""
"Special value that can be used as the *stdin*, *stdout* or *stderr* argument "
"to :func:`create_subprocess_shell` and :func:`create_subprocess_exec` and "
"indicates that a pipe to the standard stream should be opened."
msgstr ""
":func:`create_subprocess_shell` および :func:`create_subprocess_exec` の引数 "
"*stdin*、*stdout* あるいは *stderr* で使用できる特殊な値です。オープンすべき"
"標準ストリームへのパイプを示します。"
#: ../../library/asyncio-subprocess.rst:163
msgid ""
"Special value that can be used as the *stderr* argument to :func:"
"`create_subprocess_shell` and :func:`create_subprocess_exec` and indicates "
"that standard error should go into the same handle as standard output."
msgstr ""
":func:`create_subprocess_shell` および :func:`create_subprocess_exec` の引数 "
"*stderr* で使用できる特殊な値です。標準エラー出力を標準出力と同様に扱うための"
"標準出力へのパイプを示します。"
#: ../../library/asyncio-subprocess.rst:170
msgid ""
"Special value that can be used as the *stdin*, *stdout* or *stderr* argument "
"to :func:`create_subprocess_shell` and :func:`create_subprocess_exec` and "
"indicates that the special file :data:`os.devnull` will be used."
msgstr ""
":func:`create_subprocess_shell` および :func:`create_subprocess_exec` の引数 "
"*stdin*、*stdout* あるいは *stderr* で使用できる特殊な値です。特殊ファイル :"
"data:`os.devnull` を使用するよう示します。"
#: ../../library/asyncio-subprocess.rst:176
msgid "Process"
msgstr "Process"
#: ../../library/asyncio-subprocess.rst:180
msgid ""
"A subprocess created by the :func:`create_subprocess_exec` or the :func:"
"`create_subprocess_shell` function."
msgstr ""
"関数 :func:`create_subprocess_exec` あるいは :func:`create_subprocess_shell` "
"によって作成されたサブプロセスです。"
#: ../../library/asyncio-subprocess.rst:183
msgid ""
"The API of the :class:`~asyncio.subprocess.Process` class was designed to be "
"close to the API of the :class:`subprocess.Popen` class, but there are some "
"differences:"
msgstr ""
":class:`~asyncio.subprocess.Process` クラスの API は :class:`subprocess."
"Popen` クラスの API に似せて設計されましたが、一部異なります:"
#: ../../library/asyncio-subprocess.rst:187
msgid "There is no explicit :meth:`~subprocess.Popen.poll` method"
msgstr "明示的な :meth:`~subprocess.Popen.poll` メソッドはありません"
#: ../../library/asyncio-subprocess.rst:188
msgid ""
"The :meth:`~subprocess.Popen.communicate` and :meth:`~subprocess.Popen.wait` "
"methods don't take a *timeout* parameter: use the :func:`wait_for` function"
msgstr ""
":meth:`~subprocess.Popen.communicate` および :meth:`~subprocess.Popen.wait` "
"メソッドは *timeout* 引数を取りません: :func:`wait_for` 関数を使用してくださ"
"い"
#: ../../library/asyncio-subprocess.rst:191
msgid ""
"The *universal_newlines* parameter is not supported (only bytes strings are "
"supported)"
msgstr ""
"*universal_newlines* 引数はサポートされません (バイト文字列のみサポートしま"
"す)"
#: ../../library/asyncio-subprocess.rst:193
msgid ""
"The :meth:`~asyncio.subprocess.Process.wait` method of the :class:`~asyncio."
"subprocess.Process` class is asynchronous whereas the :meth:`~subprocess."
"Popen.wait` method of the :class:`~subprocess.Popen` class is implemented as "
"a busy loop."
msgstr ""
":class:`~asyncio.subprocess.Process` クラスの :meth:`~asyncio.subprocess."
"Process.wait` メソッドは非同期であるのに対し、:class:`~subprocess.Popen` クラ"
"スの :meth:`~subprocess.Popen.wait` メソッドはビジーループとして実装されてい"
"ます。"
#: ../../library/asyncio-subprocess.rst:198
msgid ""
"This class is :ref:`not thread safe <asyncio-multithreading>`. See also the :"
"ref:`Subprocess and threads <asyncio-subprocess-threads>` section."
msgstr ""
"このクラスは :ref:`スレッド安全ではありません <asyncio-multithreading>`。 :"
"ref:`asyncio-subprocess-threads` 節を参照してください。"
#: ../../library/asyncio-subprocess.rst:203
msgid ""
"Wait for child process to terminate. Set and return :attr:`returncode` "
"attribute."
msgstr ""
"プロセスの終了を待ちます。リターンコードが :attr:`returncode` 属性に設定さ"
"れ、返されます。"
#: ../../library/asyncio-subprocess.rst:210
msgid ""
"This will deadlock when using ``stdout=PIPE`` or ``stderr=PIPE`` and the "
"child process generates enough output to a pipe such that it blocks waiting "
"for the OS pipe buffer to accept more data. Use the :meth:`communicate` "
"method when using pipes to avoid that."
msgstr ""
"``stdout=PIPE`` または ``stderr=PIPE`` を使用しており、OS パイプバッファのそ"
"れ以上のデータを受け取りの待機をブロックするほど子プロセスがパイプに出力した"
"場合、このメソッドはデッドロックします。\n"
"これを回避するには :meth:`communicate` メソッドを使用してください。"
#: ../../library/asyncio-subprocess.rst:217
msgid ""
"Interact with process: Send data to stdin. Read data from stdout and "
"stderr, until end-of-file is reached. Wait for process to terminate. The "
"optional *input* argument should be data to be sent to the child process, or "
"``None``, if no data should be sent to the child. The type of *input* must "
"be bytes."
msgstr ""
"プロセスと交信、すなわち、標準入力へのデータ送信、EOF に達するまで標準出力お"
"よび標準エラー出力からのデータ受信、およびプロセスの終了の待機を行います。任"
"意の引数 *input* は子プロセスに送信するデータを設定します。送信するデータがな"
"い場合は ``None`` を設定します (デフォルト)。*input* はバイト列でなければなり"
"ません。"
#: ../../library/asyncio-subprocess.rst:223
msgid ":meth:`communicate` returns a tuple ``(stdout_data, stderr_data)``."
msgstr ""
":meth:`communicate` は ``(stdout_data, stderr_data)`` のタプルを返します。"
#: ../../library/asyncio-subprocess.rst:225
msgid ""
"If a :exc:`BrokenPipeError` or :exc:`ConnectionResetError` exception is "
"raised when writing *input* into stdin, the exception is ignored. It occurs "
"when the process exits before all data are written into stdin."
msgstr ""
"*input* を標準入力に書き込んだときに :exc:`BrokenPipeError` または :exc:"
"`ConnectionResetError` 例外が送出された場合、例外は無視されます。これは全デー"
"タが標準入力に書き込まれる前にプロセスが終了したときに発生します。"
#: ../../library/asyncio-subprocess.rst:229
msgid ""
"Note that if you want to send data to the process's stdin, you need to "
"create the Process object with ``stdin=PIPE``. Similarly, to get anything "
"other than ``None`` in the result tuple, you need to give ``stdout=PIPE`` "
"and/or ``stderr=PIPE`` too."
msgstr ""
"プロセスの標準入力にデータを送りたい場合、``stdin=PIPE`` で Process オブジェ"
"クトを作成する必要があります。同様に、結果のタプルに ``None`` 以外のものを受"
"け取りたい場合には ``stdout=PIPE`` および/または ``stderr=PIPE`` を指定する必"
"要があります。"
#: ../../library/asyncio-subprocess.rst:238
msgid ""
"The data read is buffered in memory, so do not use this method if the data "
"size is large or unlimited."
msgstr ""
"受信したデータはメモリにバッファーされます。そのため、返されるデータが大きい"
"かあるいは制限がないような場合はこのメソッドを使うべきではありません。"
#: ../../library/asyncio-subprocess.rst:241
msgid ""
"The method now ignores :exc:`BrokenPipeError` and :exc:"
"`ConnectionResetError`."
msgstr ""
"このメソッドは :exc:`BrokenPipeError` および :exc:`ConnectionResetError` を無"
"視するようになりました。"
#: ../../library/asyncio-subprocess.rst:247
msgid "Sends the signal *signal* to the child process."
msgstr "子プロセスにシグナル *signal* を送信します。"
#: ../../library/asyncio-subprocess.rst:251
msgid ""
"On Windows, :py:data:`SIGTERM` is an alias for :meth:`terminate`. "
"``CTRL_C_EVENT`` and ``CTRL_BREAK_EVENT`` can be sent to processes started "
"with a *creationflags* parameter which includes ``CREATE_NEW_PROCESS_GROUP``."
msgstr ""
"Windows では、:py:data:`SIGTERM` は :meth:`terminate` の別名になります。"
"``CTRL_C_EVENT`` および ``CTRL_BREAK_EVENT`` で、*creationflags* で始まり、"
"``CREATE_NEW_PROCESS_GROUP`` を含むパラメータをプロセスに送信することができま"
"す。"
#: ../../library/asyncio-subprocess.rst:258
msgid ""
"Stop the child. On Posix OSs the method sends :py:data:`signal.SIGTERM` to "
"the child. On Windows the Win32 API function :c:func:`TerminateProcess` is "
"called to stop the child."
msgstr ""
"子プロセスを停止します。POSIX システムでは、子プロセスに :py:data:`signal."
"SIGTERM` を送信します。Windows では、Win32 API 関数 :c:func:"
"`TerminateProcess` が呼び出されます。"
#: ../../library/asyncio-subprocess.rst:264
msgid ""
"Kills the child. On Posix OSs the function sends :py:data:`SIGKILL` to the "
"child. On Windows :meth:`kill` is an alias for :meth:`terminate`."
msgstr ""
"子プロセスを kill します。POSIX システムでは :py:data:`SIGKILL` を子プロセス"
"に送信します。Windows では :meth:`kill` は :meth:`terminate` の別名になりま"
"す。"
#: ../../library/asyncio-subprocess.rst:269
msgid ""
"Standard input stream (:class:`StreamWriter`), ``None`` if the process was "
"created with ``stdin=None``."
msgstr ""
"標準入力ストリーム (:class:`StreamWriter`) になります。プロセスが "
"``stdin=None`` で作成されていた場合 ``None`` になります。"
#: ../../library/asyncio-subprocess.rst:274
msgid ""
"Standard output stream (:class:`StreamReader`), ``None`` if the process was "
"created with ``stdout=None``."
msgstr ""
"標準出力ストリーム (:class:`StreamReader`) になります。プロセスが "
"``stdout=None`` で作成されていた場合 ``None`` になります。"
#: ../../library/asyncio-subprocess.rst:279
msgid ""
"Standard error stream (:class:`StreamReader`), ``None`` if the process was "
"created with ``stderr=None``."
msgstr ""
"標準エラー出力ストリーム (:class:`StreamReader`) になります。プロセスが "
"``stderr=None`` で作成されていた場合 ``None`` になります。"
#: ../../library/asyncio-subprocess.rst:284
msgid ""
"Use the :meth:`communicate` method rather than :attr:`.stdin.write "
"<stdin>`, :attr:`.stdout.read <stdout>` or :attr:`.stderr.read <stderr>` to "
"avoid deadlocks due to streams pausing reading or writing and blocking the "
"child process."
msgstr ""
"ストリームの読み込みまたは書き込みの一時停止およびプロセスのブロックによる"
"デッドロックを回避するには、:attr:`.stdin.write <stdin>`、:attr:`.stdout."
"read <stdout>` あるいは :attr:`.stderr.read <stderr>` ではなく、:meth:"
"`communicate` メソッドを使用してください。"
#: ../../library/asyncio-subprocess.rst:291
msgid "The identifier of the process."
msgstr "プロセスの識別子です。"
#: ../../library/asyncio-subprocess.rst:293
msgid ""
"Note that for processes created by the :func:`create_subprocess_shell` "
"function, this attribute is the process identifier of the spawned shell."
msgstr ""
":func:`create_subprocess_shell` 関数によって作成されたプロセスでは、この属性"
"は生成したシェルのプロセス識別子になる点に注意してください。"
#: ../../library/asyncio-subprocess.rst:298
msgid ""
"Return code of the process when it exited. A ``None`` value indicates that "
"the process has not terminated yet."
msgstr ""
"プロセスが終了したときのリターンコードです。``None`` 値はプロセスがまだ終了し"
"ていないことを示します。"
#: ../../library/asyncio-subprocess.rst:301
msgid ""
"A negative value ``-N`` indicates that the child was terminated by signal "
"``N`` (Unix only)."
msgstr ""
"負の値 ``-N`` は子プロセスがシグナル ``N`` により中止させられたことを示しま"
"す (Unix のみ)。"
#: ../../library/asyncio-subprocess.rst:308
msgid "Subprocess and threads"
msgstr "サブプロセスとスレッド"
#: ../../library/asyncio-subprocess.rst:310
msgid ""
"asyncio supports running subprocesses from different threads, but there are "
"limits:"
msgstr ""
"asyncio はサブプロセスを異なるスレッドから実行するのをサポートしていますが、"
"制限があります:"
#: ../../library/asyncio-subprocess.rst:313
msgid "An event loop must run in the main thread"
msgstr "イベントループはメインスレッド内で実行されなければなりません"
#: ../../library/asyncio-subprocess.rst:314
msgid ""
"The child watcher must be instantiated in the main thread, before executing "
"subprocesses from other threads. Call the :func:`get_child_watcher` function "
"in the main thread to instantiate the child watcher."
msgstr ""
"子ウォッチャーは、他のスレッドからサブプロセスが実行される前に、メインスレッ"
"ドで作成されなければなりません。\n"
"メインスレッドで :func:`get_child_watcher` を呼んで子ウォッチャーをインスタン"
"ス化してください。"
#: ../../library/asyncio-subprocess.rst:318
msgid "The :class:`asyncio.subprocess.Process` class is not thread safe."
msgstr ""
":class:`asyncio.subprocess.Process` クラスはスレッド安全ではありません。"
#: ../../library/asyncio-subprocess.rst:322
msgid ""
"The :ref:`Concurrency and multithreading in asyncio <asyncio-"
"multithreading>` section."
msgstr ":ref:`asyncio-multithreading`"
#: ../../library/asyncio-subprocess.rst:327
msgid "Subprocess examples"
msgstr "サブプロセスの例"
#: ../../library/asyncio-subprocess.rst:330
msgid "Subprocess using transport and protocol"
msgstr "トランスポートおよびプロトコルを使用したサブプロセス"
#: ../../library/asyncio-subprocess.rst:332
msgid ""
"Example of a subprocess protocol using to get the output of a subprocess and "
"to wait for the subprocess exit. The subprocess is created by the :meth:"
"`AbstractEventLoop.subprocess_exec` method::"
msgstr ""
"サブプロセスの出力を取得しサブプロセスの終了を待機するサブプロセスプロトコル"
"の例です。サブプロセスは :meth:`AbstractEventLoop.subprocess_exec` メソッドで"
"作成されます::"
#: ../../library/asyncio-subprocess.rst:386
msgid "Subprocess using streams"
msgstr "ストリームを使用したサブプロセス"
#: ../../library/asyncio-subprocess.rst:388
msgid ""
"Example using the :class:`~asyncio.subprocess.Process` class to control the "
"subprocess and the :class:`StreamReader` class to read from the standard "
"output. The subprocess is created by the :func:`create_subprocess_exec` "
"function::"
msgstr ""
"サブプロセスを制御する :class:`~asyncio.subprocess.Process` クラスと標準出力"
"から読み込む :class:`StreamReader` クラスを使用した例で得す。サブプロセスは :"
"func:`create_subprocess_exec` 関数で作成されます::"