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