Write the statement(s) in perl script which flushesh the output. So it can be print as soon as print statement executes. I think perl dose not print immediatly, insted it print later i.e. after execution of all program, the output of the perl will print later by 'C' but we didnt get it since the program exit immediatly therefor you need to use statement whilch flushesh the output. And let me know that statement.
This statement may work "$| = 1;" Write it before you start to print on console Regards Yogesh sanofsans <[EMAIL PROTECTED]> wrote: Thank you for your answers. The problem is that the invoked script is written by somebody else, and I do not know how it works. All I have to do is to invoke it, and it displays an output. OR is there a way to dump the output to a file eventhough you do not know how the invoked script works? Thanks again. --- In [email protected], "Nico Heinze" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], Thomas Hruska <thruska@> wrote: > > > > sanofsans wrote: > > > Hi folks, check this out! > > > > > > I wrote a C++ program in which a dialog box with an OK button > > > appears. This part works! When I click on OK, a perl > > > script is invoked, and the result of that script should appear > > > in a DOS window. This does not work. > <snip> > > Why not dump the output into a multi-line textbox (e.g. similar > > to how NSIS-based installers work)? Then you won't need to > > show a command prompt at all. > > Another more general approach is to write this output into some text > file; then you can check this file and its contents in any way you (or > your clients later on) might want to. > > Regards, > Nico > --------------------------------- Heres a new way to find what you're looking for - Yahoo! Answers [Non-text portions of this message have been removed]
