what am I missing here with that working dir?

DFTW jckj33 at gmail.com
Mon Mar 18 15:23:46 UTC 2019


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.


More information about the Digitalmars-d-learn mailing list