Skip to content

Timeout on eval-system too agressive? #2221

@woutersj

Description

@woutersj

Mogan Version

1.2.9.8

Operating System Version and Architecture

Fedora Linux 40 (GNOME Wayland)

Describe Bug

eval-system sometimes fails to capture output of a command.

I suspect this is due to a too short timeout in lolly::system::check_stdout .

I have tested this with (eval-system "python3 /home/jeroen/test.py"), where test.py contains

import time
time.sleep(0.2)
print("hello world")

Depending on the delay the output is captured or not.

Expected Behavior

Output is captured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions