oh, my mistake. the active perl cannot do "-|", but the perl that comes with msysgit can. and i accidentally used that perl to run my script.
guess i will have to dig into perl and patch that myself```:( thank you ;) On Mon, Sep 28, 2009 at 10:48 PM, Michael P. Soulier <msoul...@digitaltorque.ca> wrote: > On 28/09/09 Xi Shen said: > >> i do not have much knowledge with perl, but i did a little testing, >> and i think this proves that the "-|" pipeline works on windows: >> >> #test.perl >> my $fd; >> >> open($fd, "-|", "git", "branch") or die "bad"; >> >> print <$fd>; >> >> then i run ???perl test.perl" under my git repo, and it prints the >> branches of the git repo correctly. maybe this function does not work >> if the perl is hosted in iis. > > IIS shouldn't care. > > As gitweb is obviously not working with activeperl I'm not sure what point > there is in continuing, unless you plan to submit a patch. > > I'd find out where it's supported and use it there. > > As -| forks, it would surprise me if it works on windows. There's a whole > Win32::Fork module just to simulate Unix forking on windows. > > Mike > -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~----------~----~----~----~------~----~------~--~---