Execute a system command: Difference between revisions

Content added Content deleted
(→‎{{header|Free Pascal}}: Removed duplicate entry)
Line 340: Line 340:
call system("ls")
call system("ls")
end program SystemTest</lang>
end program SystemTest</lang>

=={{header|Free Pascal}}==
<lang Pascal>program ex01;

uses
SysUtils;

begin
ExecuteProcess('cmd', ' /c dir');
end.</lang>


=={{header|Go}}==
=={{header|Go}}==