• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:stdin

3 .. _asyncio-subprocess:
12 ----------------------------------------
14 This section describes high-level async/await asyncio APIs to
64 .. coroutinefunction:: create_subprocess_exec(program, *args, stdin=None, \
82 .. coroutinefunction:: create_subprocess_shell(cmd, stdin=None, \
111 used. See :ref:`Subprocess Support on Windows <asyncio-windows-subprocess>`
116 asyncio also has the following *low-level* APIs to work with subprocesses:
119 as well as the :ref:`Subprocess Transports <asyncio-subprocess-transports>`
120 and :ref:`Subprocess Protocols <asyncio-subprocess-protocols>`.
129 Can be passed to the *stdin*, *stdout* or *stderr* parameters.
131 If *PIPE* is passed to *stdin* argument, the
132 :attr:`Process.stdin <asyncio.subprocess.Process.stdin>` attribute
149 Special value that can be used as the *stdin*, *stdout* or *stderr* argument
158 functions return instances of the *Process* class. *Process* is a high-level
186 This class is :ref:`not thread safe <asyncio-multithreading>`.
188 See also the :ref:`Subprocess and Threads <asyncio-subprocess-threads>`
209 1. send data to *stdin* (if *input* is not ``None``);
210 2. closes *stdin*;
220 exception is raised when writing *input* into *stdin*, the
222 exits before all data are written into *stdin*.
224 If it is desired to send data to the process' *stdin*,
225 the process needs to be created with ``stdin=PIPE``. Similarly,
235 *stdin* gets closed when `input=None` too.
267 .. attribute:: stdin
270 if the process was created with ``stdin=None``.
285 :attr:`process.stdin.write() <stdin>`,
304 A negative value ``-N`` indicates that the child was terminated
308 .. _asyncio-subprocess-threads:
311 ----------------------
320 :ref:`asyncio-watchers` for more info.
337 <asyncio-multithreading>` section.
341 --------
361 sys.executable, '-c', code,
377 written using low-level APIs.