in reply to Re: Module works when run in a shell, but not when run as a CGI
in thread Module works when run in a shell, but not when run as a CGI

The path to the binary is explicitly set by one of the module options, so it's definitely finding the binary. However, there are differences between $PATH in a shell and $ENV{'PATH'} in the CGI, so I'll investigate that further.

Update: Setting the path to be exactly the same made no difference.

Update2: I do get the expected output from `/usr/bin/gpg --version`, which means I'm not being chrooted.

  • Comment on Re^2: Module works when run in a shell, but not when run as a CGI