On Saturday, 16 March 2019 at 07:27:43 UTC, FreeSlave wrote:
On Friday, 15 March 2019 at 21:48:50 UTC, DFTW wrote:
What am I missing here?

Maybe the terminal and your utility you run wkhtmltopdf from have different environment?

I guessed so, I've tried set the env as well:

    enum env = ["LD_LIBRARY_PATH" :
    "/path/to/wkhtmltox-0.12.4_linux-generic-i386/wkhtmltox/lib"];
        import std.process : execute, Config;
        auto conv = execute([app, html,pdf],
                        env,
                                                Config.newEnv,
                                                size_t.max,
                                                workingDir);
but that doesn't work either.

Reply via email to