Execute a system command: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4:
 
=={{header|Ada}}==
<lang ada>
<Ada>
with Interfaces.C; use Interfaces.C;
Line 14:
Ret_Val := Sys(To_C("ls"));
end Execute_System;
</Adalang>
 
=={{header|AppleScript}}==
Line 439:
Shelling out a sub task in Visual Basic is rather a pain if you need to wait for the task to complete, which
is probably the usual case. But it is possible.
<VBlang vb>Attribute VB_Name = "mdlShellAndWait"
Option Explicit
 
Line 516:
End Sub
 
</VBlang>