Execute a system command: Difference between revisions

no edit summary
No edit summary
Line 309:
<lang erlang>os:cmd("ls").</lang>
 
=={{header|ERRE}}==
In ERRE language you have the SHELL command followed, eventually, by a string command.
SHELL itself opens a new DOS/Windows shell: you must use EXIT to end.
For example
 
SHELL("DIR")
 
lists the current directory.
 
<lang ERRE>SHELL(cmd$)</lang>
 
=={{header|Euphoria}}==
Anonymous user