AnyEvent::Util::run_cmd on Win32?

Marc Lehmann schmorp at schmorp.de
Thu Jul 26 13:31:06 CEST 2012


On Thu, Jul 26, 2012 at 09:49:49AM +1000, Rohan McGovern <rohan at mcgovern.id.au> wrote:
> After having a look at the implementation of run_cmd, I saw that it
> uses fork(), which led me
> to believe it may be expected to not work on Windows. However, the
> docs have some Win32
> caveats mentioned for other functions, but not for run_cmd.

It should work fine on windows, but probably places high demands on your
fork implementation, so activestate perl might not work (and strawberry
perl is probably as broken as always). Try a cygwin/sfu/uwin or so perl and
see if it works better there.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list