Opened 4 months ago

Closed 4 months 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:
Has a Patch: no 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 4 months ago.
err.c (112 bytes) - added by leorize 4 months ago.

Download all attachments as: .zip

Change History (4)

Changed 4 months ago by leorize

Attachment: spawnredir.c added

Changed 4 months ago by leorize

Attachment: err.c added

comment:1 Changed 4 months ago by waddlesplash

Owner: changed from nobody to korli
Status: newassigned

comment:2 Changed 4 months ago by korli

Resolution: fixed
Status: assignedclosed

Fixed in 20694a04585f349f3815d13c1fbbccee66c782d6 (no hrev generated).

Note: See TracTickets for help on using tickets.