Execute a system command: Difference between revisions

(→‎{{header|Ada}}: GNAT run-time solution added)
Line 984:
# ... later
io.each {|line| puts line}</lang>
 
=={{header|Run BASIC}}==
<lang runbasic>
print shell$("ls") ' prints the returned data from the OS
a$ = shell$("ls") ' holds returned data in a$</lang>
 
=={{header|Scala}}==
Anonymous user