Opened 6 years ago
Closed 6 years ago
#14322 closed bug (fixed)
posix_spawn only dup2() once
Reported by: | leorize | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
The program pipe.c
attempts to redirect pipetest.c
stdout and stderr to their respective pipes for inspection
How to run:
$ gcc -o pipetest pipetest.c $ gcc -o pipe pipe.c $ ./pipe
Expected: no output
Got:
test err (hangs)
The hang happens because the child stderr isn't redirected to the pipe.
Tested on hrev52165, x86_64
Attachments (3)
Change History (5)
by , 6 years ago
by , 6 years ago
Attachment: | pipetest.c added |
---|
by , 6 years ago
comment:1 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in hrev52177. Thanks for the report!