Comment by anderskaseorg
4 years ago
system(3) is not a good alternative because it indirects through the shell, which adds the overhead of launching the shell as well as the danger of misinterpreting shell metacharacters in the command if you aren’t meticulous about escaping them correctly.
No comments yet
Contribute on Hacker News ↗