datalad_next.shell.VariableLengthResponseGeneratorPowerShell

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

Bases: VariableLengthResponseGenerator

A variable length response generator for PowerShell shells

get_final_command(command: bytes) bytes[source]

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

The PowerShell 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"