RosettaCodeData/Task/Execute-a-system-command/FunL/execute-a-system-command.funl

4 lines
81 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
import sys.execute
execute( if $os.startsWith('Windows') then 'dir' else 'ls' )