Print output before program end
From: Rafal Lagowski (rla_at_placotec.com)
Date: 04/11/04
- Next message: Jim Gibson: "Re: Print output before program end"
- Previous message: Jürgen Exner: "Re: Executables?"
- Next in thread: Jim Gibson: "Re: Print output before program end"
- Reply: Jim Gibson: "Re: Print output before program end"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 11 Apr 2004 23:43:02 +0200
Hi all
This is my small problem ...
I have a program which make a long long statistic (about 2 minutes)
It enough to timeout in my browser (or squid proxy of client)
I want first make a page which is checking if there exist a result of
stat maker (some PDF file)
If NO then reload, if YES then show the page with a link
This is not problem. I'm making it.
In first line of my program I make
print $query->redirect("ProgWait.pl?result=doc.pdf");
and after program is making stats. There is no more output from this
program.
The problem is that result of print is showed when ALL program is
finish, so when result PDF exist, so redirect is not have sens.
I have option to call first program ProgWait.pl?result=doc.pdf and after
make stats, but I have pass a lot of parameters
Is there any other solution to print output before program end
Thanks a lot ....
Rafal
- Next message: Jim Gibson: "Re: Print output before program end"
- Previous message: Jürgen Exner: "Re: Executables?"
- Next in thread: Jim Gibson: "Re: Print output before program end"
- Reply: Jim Gibson: "Re: Print output before program end"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]