Re: First Time CPAN Testing on Windows

[email protected] (Alceu Rodrigues de Freitas Junior via cpan-testers-discuss)
Newsgroups perl.cpan.testers.discuss
Message-ID <[email protected]>
You might want to take a look at this project:

https://github.com/lucastheisen/ipc-open3-callback

I borrowed code from it (didn't need the callback feature, only the hack 
for Windows) to implement a long running process that used IPC on MS 
Windows and it's behavior was somehow better than the standard ways of 
reading output from external programs.

On the other hand, after some time running, this process just stopped 
working, so I have to restart it from time to time. :-(

All that was tested on Windows 7, so it might be better with Windows 10.


Em 25/08/2018 16:29, Slaven Rezic escreveu:
> Charlie Gonzalez <[email protected]> writes:
>
>> Hello CPAN Testers,
>>
> [...]
>> Everything was working just fine until I see that my server had hung for
>> some reason, I avoided contacting Google for support and moved forward with
>> upgrading the hardware to a 2 CPU and 5.5 Gig ram server.  Also I sometimes
>> have to go to the command prompt and press the enter key while a make is
>> running ( sometimes it just hangs there )
> Hello Charlie,
>
> I smoke rarely on Windows VMs, but I also encountered strange hangs in
> the smoking process. In my case it seems that Capture::Tiny was causing
> the hangs, probably related to
> https://github.com/cpan-testers/CPAN-Reporter/issues/28
>
> To workaround this problem, I wrote a script which uses some heuristics
> to detect such hanging processes, and kills it. It can be found at:
> https://github.com/eserte/srezic-misc/blob/master/scripts/capture-tiny-watcher.pl
>
> Maybe the reason for your hangs are the same, but I wouldn't be
> surprised if there are also other problems on Windows systems.
>
> Regards,
>      Slaven
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.