(* in form: Process, Memo, Button, Edit *) procedure TForm1.Button1Click(Sender: TObject); begin Process1.CommandLine:= Edit1.Text; Process1.Execute; Memo1.Lines.LoadFromStream(Process1.Output); end;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter