process_output_reader

Full name: ase2sprkkr.potentials.test.process_output_reader

Module class hierarchy

Inheritance diagram of ase2sprkkr.potentials.test.process_output_reader.AsyncioFileReader, ase2sprkkr.potentials.test.process_output_reader.ProcessOutputReader

Description

Readers for processes outputs.

They employ asyncio to makes possible read stdio and stderr concurently.

Functions

readline(stdout)

readline_until(stdout, cond[, can_end])

Classes

AsyncioFileReader(filename[, buffersize])

File reader that mimics asyncio StreamReader.

ProcessOutputReader()

Class, that run a process, optionally saves all the output of the process to a file, and pass the stdout and stderr of the process to its two async routines, read_error and read_output.