Hi,
I have a Perl program and a C program. I want to run the Perl program and capture the return value of C program. To make it clear:
C program (a.out)
int main()
{
printf("100");
return 100;
}
Perl program:
print `ls`; #OK
print `a.out`; #No error but it does not print any output.
Any ideas? Thanks.