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

15 lines
262 B
Plaintext

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