RosettaCodeData/Task/Execute-a-system-command/Lingo/execute-a-system-command.lingo
2016-12-05 23:44:36 +01:00

6 lines
124 B
Text

sx = xtra("Shell").new()
if the platform contains "win" then
put sx.shell_cmd("dir")
else
put sx.shell_cmd("ls")
end if