Opened 6 years ago

Closed 6 years ago

#14308 closed bug (fixed)

Cannot redirect stderr using posix_spawn

Reported by: leorize Owned by: korli
Priority: normal Milestone: Unscheduled
Component: System/libroot.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Run examples with

$ gcc -o spawnredir spawnredir.c
$ gcc -o err err.c
$ ./spawnredir

Expected: no output, a file named errlog appears contains the string something

Reality: the program outputs something, errlog file appears but empty

Attachments (2)

spawnredir.c (752 bytes ) - added by leorize 6 years ago.
err.c (112 bytes ) - added by leorize 6 years ago.

Download all attachments as: .zip

Change History (4)

by leorize, 6 years ago

Attachment: spawnredir.c added

by leorize, 6 years ago

Attachment: err.c added

comment:1 by waddlesplash, 6 years ago

Owner: changed from nobody to korli
Status: newassigned

comment:2 by korli, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed in 20694a04585f349f3815d13c1fbbccee66c782d6 (no hrev generated).

Note: See TracTickets for help on using tickets.