I am trying to execute this code:
(define dump-db []
(. (Runtime/getRuntime) exec "pg_dump database-name | gzip -c > db-name.out.gz"))
But the db-name.out.gz file does not is created. Other commands like "ls" or "touch foo.txt" were successfully executed.
Any help?