redmine_git_remote icon indicating copy to clipboard operation
redmine_git_remote copied to clipboard

fixed fork() bug on windows machines

Open causa-prima opened this issue 9 years ago • 3 comments

Fixes #22, a windows-specific bug because fork() is not available on windows machines, so spawn() is used instead

causa-prima avatar Sep 16 '16 13:09 causa-prima

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?

vasi avatar Oct 31 '16 20:10 vasi

Unfortunately, no. I don't know anything about ruby and just found this fix somewhere on the net.

causa-prima avatar Jan 13 '17 10:01 causa-prima

This fix is not good, it causes the command to finish executing before redirecting stdout/stderr. Better/correct(?) fix can be found here ae7bf7108b2709115b6ea471f905fe72e05ff85c

carlolars avatar Aug 05 '17 14:08 carlolars