Execute a system command: Difference between revisions

→‎{{header|Prolog}}: Added PureBasic
(added Go)
(→‎{{header|Prolog}}: Added PureBasic)
Line 607:
{{works with|GNU Prolog}}
<lang prolog>shell('ls').</lang>
=={{header|PureBasic}}==
<lang PureBasic>ImportC "msvcrt.lib"
system(str.p-ascii)
EndImport
 
If OpenConsole()
system("dir & pause")
Print(#CRLF$ + #CRLF$ + "Press ENTER to exit")
Input()
CloseConsole()
EndIf</lang>
 
=={{header|Python}}==
Anonymous user