Quantcast
Viewing latest article 39
Browse Latest Browse All 80

JAVA- PERL PRoblem by Tatiana Lloret Iglesias

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.infonever 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.


------
http://cuandomemiras.blogspot.com

Viewing latest article 39
Browse Latest Browse All 80

Trending Articles