mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #482] Asciinema hangs when pty is not available #272
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DavidVentura on GitHub (Mar 30, 2022).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/482
Hi
I'm running asciinema as a subprocess in CI to record some commands. Something like
subprocess.Popen(['asciinema', ...]). This works great in any local machine, but hangs in CI, without even spawning the process to record.I've fixed it by passing a new pty for the process:
but I believe asciinema could detect this and automatically spawn a new pty
@DavidVentura commented on GitHub (Mar 30, 2022):
as a note for anyone with similar issues -- you also need to set the size of the pty:
@ku1ik commented on GitHub (Mar 30, 2022):
Can you try the latest code from develop branch? There's a chance that recent changes there improved this.
@ku1ik commented on GitHub (May 11, 2022):
Could you test this on the latest v2.2.0?
@DavidVentura commented on GitHub (May 24, 2022):
Works great!