I'm seeing the following error when scm manager tries to run my post-receive hook:
19:54:44.891 [qtp350090913-22] ERROR sonia.scm.web.GitReceiveHook - could not execute file hook
java.io.IOException: Cannot run program "C:\scm-server-data\repositories\git\sms4\hooks\post-receive" (in directory "C:\scm-server-data\repositories\git\sms4"): CreateProcess error=193, %1 is not a valid Win32 application
at java.lang.ProcessBuilder.start(Unknown Source) ~[na:1.7.0_06]
I've attached my scm-manager.log and post-receive hook script for reference.
Has anyone encountered this before?