datalad_next.shell.FixedLengthResponseGeneratorPowerShell

class datalad_next.shell.FixedLengthResponseGeneratorPowerShell(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 PowerShell version for fixed length response generators.

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