Skip to content

Question returning nothing in Windows #32

Answered by ncruces
josuigoa asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

The zenity --question command returns its result in the exit code of the process.

Depending on your shell (cmd, powershell, Git bash) this should work:
zenity --question --text "are you sure?" --title "test" && echo yes || echo no

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by josuigoa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #31 on July 12, 2022 15:47.