I believe the java application should be the one flushing its output.
Since I'm not a java programmer, I wouldn't know how to do that.
(output should be flushed so that the other app can read it).

Hope this helps,,,

Aziz,,,


In article <000701c10ddb$dece5e70$77887382@jynnantonix>, "Jos I. Boumans"
<[EMAIL PROTECTED]> wrote:

> getting output immediately of an application started with open-commandI
> think what you want is : $| = 1;
> 
> that enables 'flushing' of the output, ie, doesnt buffer it, but prints
> right away.
> 
>   if I start a application with open, I get the output of the
>   application, when I exit the application:
> 
>           $proc_ID = open (GSM, "$config{'jdk.dir'}/bin/java -classpath
>           $config{'env.CLASSPATH'} -Dinstall.dir=d:/test
>           -DCONFIGDIR=d:/test -DSKYVASERVER=bls-db -Dadmhost=bls-db
>           -DSkyvaServer=bls-db -DSkyvaHost=bls-db
>           -Dskyva.configDir=d:/test/config
>           com.skyva.cust.bls.gui.MainFrame |");
> 
>   while (defined ($_ = <GSM>)) {
>   print $_;
>   }
> 
> 
>   In this example a java application will be started. If I start in a
>   DOS-Box, the java application prints its output immediately to the
>   console.
> 
>   If I start it like above, the output will be printed to the console
>   after the java programs end. How can I print the output at runtime to
>   the console?
> 
>   Thanks for your help in advance
> 
>   Heiko

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to