SubprocessFlags#

Added in version 2.40.

class SubprocessFlags#

Flags to define the behaviour of a Subprocess.

Note that the default for stdin is to redirect from /dev/null. For stdout and stderr the default are for them to inherit the corresponding descriptor from the calling process.

Note that it is a programmer error to mix ‘incompatible’ flags. For example, you may not request both STDOUT_PIPE and STDOUT_SILENCE.

Fields#

class SubprocessFlags
INHERIT_FDS#

The type of the None singleton.

NONE#

The type of the None singleton.

SEARCH_PATH_FROM_ENVP#

The type of the None singleton.

STDERR_MERGE#

The type of the None singleton.

STDERR_PIPE#

The type of the None singleton.

STDERR_SILENCE#

The type of the None singleton.

STDIN_INHERIT#

The type of the None singleton.

STDIN_PIPE#

The type of the None singleton.

STDOUT_PIPE#

The type of the None singleton.

STDOUT_SILENCE#

The type of the None singleton.