M
meliason
I've constructed a perl utility to automate some build procedures at my
company. I was originally using an older version of perl (5.001),
using what I think is a pretty straightforward perl open syntax to call
devenv when building a solution file. Here's a snippet...
open (BUILD, "devenv solution_file_name /rebuild Release |");
while(<BUILD>)
{
chomp;
print "$_\n";
}
close(BUILD);
When I used perl 5.001, I would be able to print the i/o to the screen,
parse it, log it, format it, etc. Now I'm trying the same code with
perl versions 5.6.1 and 5.8.8. Neither of them are able to print the
i/o from devenv. When I open other programs (I've only tested
non-Microsoft so far), there are no problems. So I tend to believe
that it's not my code snippet that's the problem. I have experienced
some issues with hidden characters preventing correct devenv i/o
processing in the past, but the ones that I know of are already
accounted for. I don't see anything at the beginning of the devenv
output that's out of the ordinary...I'm at a complete loss for what
might be causing the i/o to disappear on me.
Any suggestions??
company. I was originally using an older version of perl (5.001),
using what I think is a pretty straightforward perl open syntax to call
devenv when building a solution file. Here's a snippet...
open (BUILD, "devenv solution_file_name /rebuild Release |");
while(<BUILD>)
{
chomp;
print "$_\n";
}
close(BUILD);
When I used perl 5.001, I would be able to print the i/o to the screen,
parse it, log it, format it, etc. Now I'm trying the same code with
perl versions 5.6.1 and 5.8.8. Neither of them are able to print the
i/o from devenv. When I open other programs (I've only tested
non-Microsoft so far), there are no problems. So I tend to believe
that it's not my code snippet that's the problem. I have experienced
some issues with hidden characters preventing correct devenv i/o
processing in the past, but the ones that I know of are already
accounted for. I don't see anything at the beginning of the devenv
output that's out of the ordinary...I'm at a complete loss for what
might be causing the i/o to disappear on me.
Any suggestions??