BUG: Redirection of Input to a Spawned PowerStation App FailsLast reviewed: July 14, 1995Article ID: Q106723 |
The information in this article applies to:
SYMPTOMSPowerStation applications spawned with either SYSTEMQQ or RUNQQ hang when input is redirected from a file. Also, the input is split and directed at both the application and the console.
CAUSEThe MS-DOS extender that comes with PowerStation does not handle console input the same way as MS-DOS does. The hang occurs because the spawned application is waiting for an end-of-file (EOF).
STATUSMicrosoft has confirmed this to be a problem in FORTRAN PowerStation version 1.0 and version 1.0a for MS-DOS. This is not a problem in FORTRAN PowerStation 32.
MORE INFORMATIONApplications that are not MS-DOS extended handle redirection input incorrectly when spawned with RUNQQ or SYSTEMQQ. To demonstrate the problem, follow these steps:
Sample Code #1 (TEST.FOR)C No compiler options required include 'flib.fi' include 'flib.fd' if(.not.SystemQQ('b < test.for')) print*, 'systemqq failed' end Sample Code #2 (B.FOR)C No compiler options required character*20 c ierr = 0 do while(ierr.ne.-1) read(*,"(a)",iostat=ierr) c print*, c end do end |
Additional reference words: 1.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |