Odisseia 1.21.56
Português do BrasilManual oficial · 1.21.56
Sobre a tradução em inglês

TShell.Command#

Texto do comando entregue ao shell autorizado pelo profile.

Declaração#

property Command: String read write;

Exemplo#

program Example(Config: TConfig);

uses Odisseia.Process;
var Shell: TShell;
begin
  Shell := TShell.Create;
  Shell.Executable := Config.GetString('SHELL_EXECUTABLE');
  Shell.Command := 'echo hello';
  WriteLn(Shell.Command)
end.

É obrigatório antes de Execute, não pode conter caractere nulo e respeita o limite de strings do host.

Voltar para TShell