Modify ↓
Opened 17 years ago
Closed 17 years ago
#1044 closed Bug (No Bug)
StdErr constants for Run()
| Reported by: | GEOSoft | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
I'm not sure if the docs are wrong here or not
0x8 ($STDERR_MERGED) = Provides the same handle for STDOUT and STDERR. Implies both $STDOUT_CHILD and $STDERR_CHILD.
however
4 + 2 = 6, and BitOR(4, 2) = 6 or $STDERR_CHILD + $STDOUT_CHILD = 6 and BitOR($STDERR_CHILD, $STDOUT_CHILD) = 6
That being the case, where does the 0x8 come from?
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
It is a completely separate flag. It merges the stdout and stderr stream into a single stream. This is not the same thing as stdout having its own stream and stderr having it's own stream.
Note:
See TracTickets
for help on using tickets.

Something messed up the code block for the ticket so I'm redoing it without the blocks'
I'm not sure if the docs are wrong here or not
0x8 ($STDERR_MERGED) = Provides the same handle for STDOUT and STDERR. Implies both $STDOUT_CHILD and $STDERR_CHILD.
however
4 + 2 = 6, and BitOR(4, 2) = 6 or
$STDERR_CHILD + $STDOUT_CHILD = 6 and
BitOR($STDERR_CHILD, $STDOUT_CHILD) = 6
That being the case, where does the 0x8 come from?