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

4 lines
81 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
import sys.execute
execute( if $os.startsWith('Windows') then 'dir' else 'ls' )