Skip to content

Question or feature request: PyPanda API for timeout for panda.record_cmd() #1150

@rjzak

Description

@rjzak

Since some programs being tested might not exit on their own, or might be stuck waiting for something, it would be useful to have an optional timeout parameter for panda.record_cmd(). Instead, it seems the program runs forever (it's a simple test app I wrote, doesn't do much) and the recording ends up filling up the partition.

I'm not using the latest version, but checking current sources & examples shows this feature isn't implemented.

Git hash: 713ebc3
Git date: 16 Nov 2021
Python: 3.8.10
Host OS: Ubuntu 20.04.3
Guest OS: Windows 10 64-bit (using os="windows", expect_prompt=rb"C*>" in the Panda() constructor in case I'm doing something wrong)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions