Title: getting output immediately of an application started with open-command

Hi all,

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