- May
- 13,594
- 201
Perhaps naively, I expected output from a .PL script, run by TCC's embedded perl, to go to stdout. But it doesn't seem to do so. Below, when I run it with PERL.EXE I can pipe it's output; when I let TCC run it, I can't.
Code:
v:\> type embedded.pl
printf("%s\n%s\n", "Hello", "world!");
v:\> perl embedded.pl | wc
Lines Words Chars
2 2 15
v:\> embedded.pl | wc
Lines Words Chars
Hello
world!
0 0 0