On Wed, Oct 12, 2016 at 12:29:55PM +0200, Dario Niedermann wrote:
> That is true. I was mostly wondering if Subversion was (for example)
> running hook scripts via /usr/bin/env; so that it's expected for any
> flags on the shebang line to cause errors. Or if I'm onto something
> and opening a bug is justified.
> Thank you,
> DN

Subversion uses APR's apr_proc_create to run the hook, with the
command type attribute set to APR_PROGRAM (not APR_SHELLCMD!).
On Unix, APR then uses execve() to run the program.

The relevant code from APR trunk is here:

Reply via email to