3.1.9.1. DaemonSubprocess¶
This module provides functions to run Daemon process.
-
class
PyDvi.Tools.DaemonSubprocess.DaemonSubprocess(working_directory)[source]¶ Bases:
objectThis class implements a Daemon sub-process.
-
fifos= ()¶ List of fifos to be created.
-
-
exception
PyDvi.Tools.DaemonSubprocess.SubprocessError[source]¶ Bases:
exceptions.EnvironmentError
-
PyDvi.Tools.DaemonSubprocess.make_nonblocking(fd)[source]¶ Makes a file descriptor non-blocking.
When a non-blocking file is read, the read does not wait for end-of-file. Instead, the read can return just as soon as there is nothing left to read. This might be because a buffer is empty.
See Python Cookbook, Recipe 6.6.