Hacker News new | past | comments | ask | show | jobs | submit login

This article is nonsense. In libguestfs[1] we invoke shell commands for many filesystem utilities ... from C which (if you believe the article) would be the worst place to do this.

All of the problems are avoided by having a smart way to run external commands and capture their errors. See the functions [2] and examples of use [3] [4].

[1] http://libguestfs.org

[2] https://github.com/libguestfs/libguestfs/blob/d0cf52b9118ab1...

[3] https://github.com/libguestfs/libguestfs/blob/d0cf52b9118ab1...

[4] https://github.com/libguestfs/libguestfs/blob/d0cf52b9118ab1...




Why is it nonsense? It's arguing exactly for your solution: a smart way to run external commands and capture their errors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: