Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JAVA- PERL PRoblem

9 views
Skip to first unread message

Tatiana Lloret Iglesias

unread,
Nov 30, 2006, 12:41:46 PM11/30/06
to j...@perl.org

Hi!

i'm executing PERL code from JAVA with the following instructions:

Process p=Runtime.getRuntime().exec(cmdString);
int exitCode = p.waitFor();
p.destroy();
logger.info("exitCode="+exitCode);
if(exitCode == 0)
{
logger.info("EXITO");
}
else
{
logger.info("FALLO");
}

The script is correctly executed but my problem is that last logger.info never appear! it seems like process never end although i have exit; at the end of my PERL script . Can it be a Java problem? Thanks!
T.
 
 
------
0 new messages