Course of Raku / Objects, I/O, and exceptions / Input and output / Running external programs 🆕 / run and shell
Quiz — Running programs
Which function passes its command through the system shell, allowing pipes and redirection?
| 0 | run |
| 1 | shell |
| 0 | exec |
| 0 | system |
shell passes a single string to the shell, which
interprets features like pipes. run launches a program
directly with separate arguments and no shell, which is safer and the
better default.