final output lost when command exits quickly after reading from stdin

Bug #1012027 reported by Teppo Sulavuori
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
empty-expect (Ubuntu)
New
Undecided
Unassigned

Bug Description

Final output generated after read from stdin is lost by empty if command exits quickly after the read.

All output comes through fine if:
-there is a lot of output after the read
-command waits for a small time after the read (no matter if waiting before or after the final output though)
-command does not read from stdin

Example scripts attached.

Commands:
empty -f -i in -o out ./script.sh
cat <out
echo Test >in

Revision history for this message
Teppo Sulavuori (sulate) wrote :
Revision history for this message
Teppo Sulavuori (sulate) wrote :
Revision history for this message
Teppo Sulavuori (sulate) wrote :

Package: empty-expect 0.6.18b-3ubuntu1 (precise)

Teppo Sulavuori (sulate)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.