TShell.ClearInput#
Remove os dados anteriormente configurados para a entrada padrão do comando.
Declaração#
function ClearInput(): TShell;Exemplo#
program Exemplo;
uses Odisseia.Process;
var
Shell: TShell;
begin
Shell := TShell.Create;
Shell.Executable := Config.GetString('SHELL_EXECUTABLE');
Shell.Command := 'echo hello';
Shell.SetInput('entrada temporária');
Shell.ClearInput;
end.Depois da limpeza, a execução recebe entrada vazia.