RosettaCodeData/Task/Execute-a-system-command/Genie/execute-a-system-command.genie

15 lines
262 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
[indent=4]
/*
Execute system command, in Genie
valac executeSystemCommand.gs
./executeSystemCommand
*/
init
try
// Non Blocking
Process.spawn_command_line_async("ls")
except e : SpawnError
stderr.printf("%s\n", e.message)