Skip to content

Debug logging in executeCommand doesn't properly print command, result, or exit code #27

@zjeffer

Description

@zjeffer

These lines don't seem to work properly:

hyprload/src/util.cpp

Lines 201 to 203 in 8a72750

Debug::log(LOG, " [hyprload] Command: %s", command.c_str());
Debug::log(LOG, " [hyprload] Exit code: %d", exit);
Debug::log(LOG, " [hyprload] Result: %s", result.c_str());

Example output in /tmp/hypr/<id>/hyprland.log while running hyprctl dispatch hyprload update:

[LOG]  [hyprload] Command: %s
[LOG]  [hyprload] Exit code: %d
[LOG]  [hyprload] Result: %s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions