Re: how to compress files

new topic     » goto parent     » topic index » view thread      » older message » newer message
sergelli said...

In command line works well
But inside of a program, as above, res = 1

Hmm.. instead of telling gzip to send the compressed output to stdout and redirecting that into a file, have you tried using the keep option? (Requires gzip 1.6 or later)

Or copying the original file first and then running gzip on the copy?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu