I have been following the post below trying to hook my SubVersion installation to my Mantis bug tracker.
How To Integrate Subversion and Mantis
Everything works fine until the last line where it calls the Mantis checkin.php script and feeds it the message string that has been created in the script.
exec(CHECKIN . " <<< \"$message\"");
I understand the purpose of the line is to send the message string to STDIN which Mantis' checkin.php reads in order to check for an appropriate matching string and update the Mantis tracking database.
Anyways, I know the above convention is for a Linux installation. My question is how would I use the PHP exec() function in a Windows environment to call the PHP script(checkin.php) and pass the string built in this program to STDIN.
NOTE: I would prefer not to change the logic in checkin.php to read from STDIN.
Thanks!!