mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[GH-ISSUE #868] Ironbar commands return 0 exit codes on IPC communication errors. #1672
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#1672
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 @ApproachingApathy on GitHub (Feb 12, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/868
Describe the bug
As a workaround for #642 I tried to write a script to detect when ironbar is dead and revive it. I expected
ironbar pingorironbar reloadto return a non-zero exit code when it cannot communicate with the server. However reload and ping return zero in this case. I can change the script but it might be nice to have these commands return errors.To Reproduce
Steps to reproduce the behavior:
ironbar pingorironbar reloadExpected behavior
IPC Communication errors should return a non-zero exitcode
System information:
Configuration
Config
Styles
Additional context
The script original:
What I have to do:
Screenshots
@JakeStanger commented on GitHub (Feb 15, 2025):
Cheers for reporting