From: SourceForge.net <no...@so...> - 2009-07-07 23:20:05
|
Bugs item #1198618, was opened at 2005-05-09 15:22 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1198618&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Platform Interface Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Mark Miesfeld (miesfeld) Summary: WinXP DOS pipes and REXXC fail Initial Comment: This little program run on IBM Object REXX Interpreter Version 2.1.2 Build date: Dec 2 2002 on WinXP SP1 in a DOS window. /* */ say "before: queued() =" queued() say "before: lines() =" lines() "RXQUEUE" say "after: queued() =" queued() say "after: lines() =" lines() I've done filetype associations so that the compiled filetype is associated with rexx.exe If I REXXC the program, and run it by DIR | REXX pgm I get a non-zero number displayed. but if I run it DIR | pgm I get 0 displayed. The fact that I get 0 displayed confirms that the program ran. Richard at corak dot com ---------------------------------------------------------------------- >Comment By: Mark Miesfeld (miesfeld) Date: 2009-07-07 16:20 Message: I'm closing this as either invalid or a duplicate. It is a duplicate of a recent bug. The opener of the bug states: "I've done filetype associations so that the compiled filetype is associated with rexx.exe" As explained in bug: 2801414 Problems with redirection? in Windows, programs started through the file association are started by the operating system using either ShellExecute() or ShellExecuteEx() and these functions do not set up stdin, stderr, and stdout handles. Because of this redirection is not possible. The opener of the bug really just confirms that, when started correctly, the interpreter supports redirection as it should. By started correctly I mean started in a manner where redirection is possible. As he states, DIR | rexx pgm works and DIR | pgm does not work. This is to be expected. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1198618&group_id=119701 |