Well, you can only get the exe's return value if you are expecting a single integer back from the call.
I think there are some rather harsh range limitations on the return code as well. That's probably not going to be good enough, so you're probably going to have to develop a common interface of some kind. The easiest would be to simply print to stdout, but it could be anything, like creating a file, or inserting into a database, or whatever.my $returncode = system('bar.exe some params');
Watch out for the fact that command-line arguments are processed differently depending on how many arguments you pass to the system or qx call.my $stdout = qx("bar.exe some arguments");
In reply to Re^3: Using Perl subroutines in a Perl2Exe exe file
by Xaositect
in thread Using Perl subroutines in a Perl2Exe exe file
by tlemons
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |