Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unit Unit1;
- {$mode objfpc}{$H+}
- interface
- uses
- Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
- type
- { TForm1 }
- TForm1 = class(TForm)
- Button1: TButton;
- procedure Button1Click(Sender: TObject);
- private
- public
- end;
- var
- Form1: TForm1;
- implementation
- {$R *.lfm}
- { TForm1 }
- uses Process;
- procedure TForm1.Button1Click(Sender: TObject);
- VAR t: ansistring;
- begin
- RunCommand('/usr/bin/xfce4-terminal',['-e', '/bin/bash -c "yay -S --aur rstudio-desktop;echo Press any key to continue..."'],t);
- end;
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement