RosettaCodeData/Task/Execute-a-system-command/Genie/execute-a-system-command.genie
2023-07-01 13:44:08 -04:00

14 lines
262 B
Text

[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)