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

3 lines
81 B
Text

import sys.execute
execute( if $os.startsWith('Windows') then 'dir' else 'ls' )