datalad_next.shell.VariableLengthResponseGeneratorPosix

class datalad_next.shell.VariableLengthResponseGeneratorPosix(stdout)[source]

Bases: VariableLengthResponseGenerator

A variable length response generator for POSIX shells

get_final_command(command: bytes) bytes[source]

Return a command list that executes command and prints the end-marker

The POSIX version for variable length response generators.

This method is usually only called by ShellCommandExecutor.__call__().

property zero_command: bytes

Return a command that functions as "zero command"