[GH-ISSUE #246] Recording command that exits quickly produces asciicast without event lines #789

Closed
opened 2026-03-15 10:26:46 +03:00 by kerem · 3 comments
Owner

Originally created by @ku1ik on GitHub (Dec 2, 2017).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/246

Recording who:

asciinema rec -c who out.cast

Produces asciicast with only header line.

It seems the process (who) exits before asciinema manages to write stdout to a file, even though who prints text.

Originally created by @ku1ik on GitHub (Dec 2, 2017). Original GitHub issue: https://github.com/asciinema/asciinema/issues/246 Recording `who`: asciinema rec -c who out.cast Produces asciicast with only header line. It seems the process (`who`) exits before asciinema manages to write stdout to a file, even though `who` prints text.
kerem 2026-03-15 10:26:46 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@luckydenis commented on GitHub (May 6, 2019):

Good evening. I am interested in this problem. Can I add more information?

<!-- gh-comment-id:489638328 --> @luckydenis commented on GitHub (May 6, 2019): Good evening. I am interested in this problem. Can I add more information?
Author
Owner

@bsene commented on GitHub (Jul 15, 2019):

@sickill I tried the same recording:
asciinema rec -c who out.cast

Cast file contains all data and can be read within asciinema, so the issue seems to have been resolved maybe in recent versions.

PS: I tested it on MacOS(Mojave) environement

<!-- gh-comment-id:511363034 --> @bsene commented on GitHub (Jul 15, 2019): @sickill I tried the same recording: `asciinema rec -c who out.cast` Cast file contains all data and can be read within `asciinema`, so the issue seems to have been resolved maybe in recent versions. PS: I tested it on MacOS(Mojave) environement
Author
Owner

@ku1ik commented on GitHub (Feb 20, 2022):

This has been fixed around 2.0.

<!-- gh-comment-id:1046261750 --> @ku1ik commented on GitHub (Feb 20, 2022): This has been fixed around 2.0.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#789
No description provided.