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

Huh? What's wrong with calling the unzip binary? Using a library is only a slight optimization (though I admit -- it's better).

D-BUS???




1. Way more likely to break because the user doesn't have the program installed or it isn't in PATH or whatever.

2. You have to do all communication through argv and parsing stdout which is extremely error-prone.

3. You're almost certainly not going to get proper progress reporting.

4. It can't be interactive (e.g. how do you implement the "This file exists, what do you want to do?" dialog?)

It's so obviously worse I'm surprised you even asked. I'm not sure what "D-BUS??" means but D-Bus mitigates a few of those problems at least.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: