Opened 10 years ago

Closed 8 years ago

#26 closed defect (invalid)

Redirection issues

Reported by: Lewis Rosenthal Owned by: Steven Levine
Priority: minor Milestone: Version-3.09
Component: Base Version: 3.08
Keywords: redirect, pipe Cc:

Description

From CMD.EXE, running the following command results in the expected output:

DumpIDE b > report.dumpide

 2-09-14  13:39           6,336      0  report.dumpide

However, from 4OS2.EXE, we get a 0-length file:

 2-09-14  14:17               0      0  report.dumpide

I have tried all manner of stderr, stdout, etc. which come to mind, but no matter what I try, I cannot redirect the output of this particular executable to a file under 4OS2.

For reference, the verison of DumpIDE.EXE I am using is:

Signature: @#slainc:0.1#@##1## 2012/10/12 01:00:00 slamain::EN:US:0:U
:@@dumpide utility (c) 2006 Daniela Engert, Copyright (c) 2012 Steven Levine and

Associates, Inc. All rights reserved

Vendor: slainc
Revision: 0.01
Date/Time?: 2012/10/12 01:00:00
Build Machine: slamain
Language Code: EN
Country Code: US
Uniprocessor only
File Version: 0.1
Description: dumpide utility (c) 2006 Daniela Engert, Copyright (c) 2012 Steven Levine and A

FWIW, pipe doesn't seem to work, either:

[c:\os2\apps\dani]type report.dumpide | grep 3249
18:00.00  1106:3249  IRQs: PCI:11 PIC: 0 APIC: 0
Found native mode VIA VT6421 SATA (1106/3249 rev 50) on 18:0.0
VendorID 1106, DeviceID 3249, Subsystem VendorID 1106, DeviceID 3249

[c:\os2\apps\dani]DumpIde.exe b | grep 3249

:-)

Change History (2)

comment:1 Changed 10 years ago by Steven Levine

Owner: set to Steven Levine
Status: newassigned

The reason the redirection results in any empty file is because this dumpide traps on systems not running with acpi.psd. Please check popuplog to verify this. FWIW, I get 0 length files for both cmd.exe and 4os2.exe. Are you sure you are running both tests on the same platform?

comment:2 Changed 8 years ago by Lewis Rosenthal

Resolution: invalid
Status: assignedclosed

Time to close this (I missed the incoming notification of your follow-up, Steve).

I can no longer reproduce this. The reports were run on my T43 without ACPI. Trying again, now, everything seems to work. Whatever was causing the problem before has evidently been corrected, but doubtful it had anything to do with 4OS2 directly.

Note: See TracTickets for help on using tickets.