Thank you for that great answer. In theory I understand completely what your code is doing.
But my problem is that I don't get it running. I get the following messages:
Starting Build Preprocess Stage Finished Build Preprocess Stage Starting Build Parse Stage Finished Build Parse Stage Starting Build Glue 1 Stage Finished Build Glue 1 Stage Starting Build Glue 2 Stage Finished Build Glue 2 Stage Starting Build Glue 3 Stage Finished Build Glue 3 Stage Starting Build Compile Stage Starting "perl Makefile.PL" Stage Set up gcc environment - 3.4.5 (mingw-vista special r3) Writing Makefile for JobObject Finished "perl Makefile.PL" Stage Starting "make" Stage warning: extra args ignored after '-e'
And then the script continues running endlessly without starting any processes.
When I tried it with the debugger I could not even reach the first perl statement and got the same messages.
When your code is running here on my computer, I'd like to put your code into a module and then post it here.
I ask myself if I'm doing weird things because nobody seems to need this functionality. I would assume that many people would need this useful functionality.
Thank you alot.
In reply to Re^2: Read STDOUT from Win32::Job while process is running
by Dirk80
in thread Read STDOUT from Win32::Job while process is running
by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |