Use a different exit value when foot itself fails to run #466

Closed
opened 6 months ago by dnkl · 0 comments
dnkl commented 6 months ago
Owner

Foot, and footclient, will exit with the client application's (i.e. the shell's) exit value.

This allows one to e.g. script things like foot fzf.

But, it makes it impossible to tell when foot itself failed to run (due to running outside a Wayland session, no fonts installed, invalid shell/client application etc).

Use a different exit value, or even better, different exit values, for this.

Foot, and footclient, will exit with the client application's (i.e. the shell's) exit value. This allows one to e.g. script things like `foot fzf`. But, it makes it impossible to tell when foot itself failed to run (due to running outside a Wayland session, no fonts installed, invalid shell/client application etc). Use a different exit value, or even better, different exit **values**, for this.
dnkl added the
enhancement
label 6 months ago
dnkl closed this issue 6 months ago
dnkl referenced this issue from a commit 6 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.