JAVA- PERL PRoblem
[email protected] ("Tatiana Lloret Iglesias") Thu, 30 Nov 2006 18:41:46 +0100
| Newsgroups | perl.jpl |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_52995_14147885.1164908506496
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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
------=_Part_52995_14147885.1164908506496
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<p>Hi!</p>
<p>i'm executing PERL code from JAVA with the following instructions:</p>
<p>Process p=Runtime.getRuntime().exec(cmdString); <br>int exitCode = p.waitFor();<br>p.destroy();<br>logger.info("exitCode="+exitCode);<br>if(exitCode == 0)<br>{<br>logger.info("EXITO");<br>}<br>else
<br>{<br>logger.info("FALLO");<br>}</p>
<div>The script is correctly executed but my problem is that last <a href="http://logger.info">logger.info</a> 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!
<br>T. </div>
<div> </div>
<div> </div>
<div>------</div>
<div><a href="http://cuandomemiras.blogspot.com">http://cuandomemiras.blogspot.com</a></div>
------=_Part_52995_14147885.1164908506496--