RosettaCodeData/Task/Execute-a-system-command/Icon/execute-a-system-command-1.icon

7 lines
111 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
procedure main()
write("Trying command ",cmd := if &features == "UNIX" then "ls" else "dir")
system(cmd)
end