here are two ways: my $exit_code = system ($cmd); system ($cmd); print "exit code = $?\n";
/Jon Ahmed Moustafa wrote: > > Hi All, > > I'm calling a Java application using "system". How can I know the return > code of the called Java application? > > Your help will be appreciated so much. > > Ahmed > -- > [EMAIL PROTECTED] | http://www.photo.net/users/ahmed > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]