Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
33ede08c
Kaydet (Commit)
33ede08c
authored
Agu 04, 2008
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more cleanup ups of the recently added warnings in the subprocess docs.
üst
2a0c2b13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
subprocess.rst
Doc/library/subprocess.rst
+6
-5
No files found.
Doc/library/subprocess.rst
Dosyayı görüntüle @
33ede08c
...
...
@@ -196,8 +196,8 @@ Instances of the :class:`Popen` class have the following methods:
.. warning::
This will deadlock if the child process generates enough output to a
stdout or stderr pipe
causing it to block waiting for the OS's
pipe buffer
to accept more data.
stdout or stderr pipe
such that it blocks waiting for the OS
pipe buffer
to accept more data.
Use :meth:`communicate` to avoid that.
.. method:: Popen.communicate(input=None)
...
...
@@ -253,9 +253,10 @@ The following attributes are also available:
.. warning::
Use :meth:`communicate` rather than ``.stdin.write()``, ``.stdout.read()`` or
``.stderr.read`` to avoid deadlocks due to any of the other pipe buffers
filling up and blocking the child process.
Use :meth:`communicate` rather than :meth:`.stdin.write`,
:meth:`.stdout.read` or :meth:`.stderr.read` to avoid deadlocks due
to any of the other OS pipe buffers filling up and blocking the child
process.
.. attribute:: Popen.stdin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment