I'm invoking this command from an application I write.
zip -rm9T --password pass123 /home/cats.zip /home/cats-data/
I'm setting a password to the archive and I'm specifying that the archive's integrity should be checked after it's creation with the -T switch.
The problem is that the 2 things don't work well with each other.
The archiving part goes well, but when it tries to check the integrity of the archive it doesn't know the password and expects it to come from stdin... I already gave it the password... I don't know why it needs it again... and in such a inconvenient way...
How can I make this work?