Anonymous user
Execute a system command: Difference between revisions
add m4
m (→{{header|Objective-C}}: formatting) |
(add m4) |
||
Line 293:
local f = io.popen("ls") -- store the output in a "file"
print( f:read("*a") ) -- print out the "file"'s content</lang>
=={{header|M4}}==
<lang M4>
syscmd(ifdef(`__windows__',`dir',`ls'))
</lang>
=={{header|MAXScript}}==
|