datalad_next.shell.FixedLengthResponseGeneratorPosix

class datalad_next.shell.FixedLengthResponseGeneratorPosix(stdout: OutputFrom, length: int)[source]

Bases: FixedLengthResponseGenerator

get_final_command(command: bytes) bytes[source]

Return a final command list for a command with a fixed length output

The POSIX version for fixed length response generators.

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