Oh and PAR seem to work fine on other standard Perl scripts I've used. But
must admit I've not tried compiling a script with fork() on a WIN32 system
before.
I've never found fork to work reliably at all on Win32. See the
perlport notes. Perhaps things are better with 5.8 though?
Consider
Hi, I have discovered two bits of source which cause pp to generate an
executable which crashes with the usual windows protection error when
the app exits.
The first and easy way (ie, that I can work around) is to generate a
module.pm file, and start it with #!/bin/perl, then include it in a
Did the same with no fault here, build 809, XP, and the latest snap of PAR compiled
with VC 6. Are you self compiling PAR or using the binary download?
Downloading the binaries of PAR. Has been like this for the last few
versions though.
I do have VC .Net here. I will try and compile PAR
Thanks Alan,
You are right that something strange is going on here.
I ran the aa.exe that the.noonings created, and it runs fine on my
machine. Coupled with what you say below that my exe is crashing on
your machine suggests something strange going on with my par install.
The original
Hmm, OK, well I have rebuild PAR 0.80 from source, and re-installed
wxperl and now everything is working fine... I'm fairly sure that if I
re-installed the binary version of par then this would re-occur though.
Any ideas why?
Thanks all. This is a major improvement for me. I still have
Please try the following snippet through pp. It executes fine, but
crashes when the app exits (at least on win32, havent tried linux yet).
I would be really grateful if someone could help debug this - it's the
last major bug standing in the way of packaging my little email app with
par.