redmine_git_remote
redmine_git_remote copied to clipboard
fixed fork() bug on windows machines
Fixes #22, a windows-specific bug because fork() is not available on windows machines, so spawn() is used instead
Hmm, the whole reason we have PoorMansCapture3 is so we can work on older Ruby versions. But Process::spawn is only in 1.9. Can you please add fallback behaviour if spawn is not available?
Unfortunately, no. I don't know anything about ruby and just found this fix somewhere on the net.
This fix is not good, it causes the command to finish executing before redirecting stdout/stderr. Better/correct(?) fix can be found here ae7bf7108b2709115b6ea471f905fe72e05ff85c