Closed dmanto closed 10 years ago
Hello @dmanto,
I'm sorry it has taken me so long to get back to this. I have improved the Windows behavior quite a bit in the last few releases. Can you please confirm if this bug still exists for you and if not please close it? Thanks!
I have asked another windows user to try it out and it seems like it's working. If not please re-open.
Checked Mojo::IOLoop::ForkCall version 0.08 in my windows xp machine, it's working perfectly.
C...>perl child.pl get /
Hello from child -XXXX after 3 ticks
C....>morbo child.pl
Server available at http://127.0.0.1:3000
And it works just as well from the browser
Don't forget to check your MOJO_REACTOR or set with
C....>set MOJO_REACTOR=Mojo::Reactor::Poll
before run morbo or windows will die
Hello Joel thanks for your answer, it's working now
BR
2014-06-15 23:10 GMT-03:00 Joel Berger notifications@github.com:
Closed #3 https://github.com/jberger/Mojo-IOLoop-ForkCall/issues/3.
— Reply to this email directly or view it on GitHub https://github.com/jberger/Mojo-IOLoop-ForkCall/issues/3#event-131561500 .
Hi, I couldn't get child.pl to work on strawberry perl (windows xp) (by child.pl I refer to the example you uploaded a few days ago in github)
C:.....>perl child.pl get /
BTW, in linux (ubuntu) same command works perfect, (and also with morbo or hypnotoad and a browser).
DuckDuckGoed a little about this problem, and its like windows stops because the application finishes with an abort() c function.
Anyway Mojo::IOLoop::ForkCall does load ok from CPAN in strawberry perl (5.18.2), so just to investigate a little more about this issue I run some of the tests, for instance big_send.t and of course it passes whith no problems at all. But looking inside all tests there is no "use Mojolicious" or "use Mojolicious::Lite" on the tests, so probably they are not really effective to reproduce this particular problem. (I mean if you just add a renamed "child.t" test it will certainly fail on my windows xp + strawberry setup)
Thanks in advance! Daniel
PS: I can help with the tests if you don't have access to a windows xp setup.