you can try using backtics:system("test.exe");
The screen output of running test.exe will be captured in $results.my $results = `test.exe`;
Although you're not doing it in your example, but if you pass any input from your CGI to the command line, make sure you untaint it first.
Cheers,
Brent
In reply to Re: Calling system function in cgi
by dorko
in thread Calling system function in cgi
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |