Article - CS334557
Output does not immediately appear in the ApexAda message window when using apex_display to run a script
Modified: 30-Mar-2021
Applies To
- ApexAda 4.2 F000 to 5.2 F000
Description
- The apex_display command can be used for menu customization, CMVC customization, TestMate test drivers and more
- The apex_display command includes a run or execute subcommand to run a script or program and output the results to an Apex message window
- For some scripts or programs, the apex_display output does not immediately appear in the message window, but instead appears all at once upon program completion
- Users often prefer to see the output in real time, to monitor the progress of the script or programFor example, consider the following C-shell script cshscript.csh:
#!/bin/csh foreach xx ( 1 2 3 4 5 6 7 ) sleep 5 echo “Line $xx” end
and an equivalent Perl script perlscript.pl:my $count = 0; while ($count < 7) { $count++; sleep 5; print "Line $count \n"; }
This is a printer-friendly version of Article 334557 and may be out of date. For the latest version click CS334557