2010-07-16 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbrun/hbrun.prg
    ! Fixed to show error in GTCGI mode instead of going into 
      an infinite loop.
This commit is contained in:
Viktor Szakats
2010-07-16 12:52:30 +00:00
parent df891b8377
commit 9be35ea982
2 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-07-16 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
! Fixed to show error in GTCGI mode instead of going into
an infinite loop.
2010-07-16 13:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbtest/hbtest.prg
* utils/hbtest/rt_hvm.prg

View File

@@ -185,6 +185,11 @@ STATIC PROCEDURE hbrun_Prompt( cCommand )
LOCAL bKeyUP, bKeyDown, bKeyIns, bKeyResize
LOCAL lResize := .F.
IF hb_gtVersion( 0 ) == "CGI"
OutErr( "hbrun: Error: Interactive session not possible with GTCGI terminal driver" + hb_eol() )
RETURN
ENDIF
CLEAR SCREEN
SET SCOREBOARD OFF
GetList := {}