RosettaCodeData/Task/Execute-a-system-command/Lingo/execute-a-system-command.lingo
2023-07-01 13:44:08 -04: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