Running other programs from Mojo
Mojo for beginners · 10 of 17
Beginner
Run echo and sort from Mojo, capture their output, and stop a stuck command with a timeout. run(["true"]) took 418 microseconds against 543 to 1,155 for Python on one busy machine.