-
Hi! firts of all, thank you for creating this library, it is very useful! I'm running the latest windows binary (0.8.9) from command line like this:
And it doesn't matter what button I'm pressing, it returns empty string (or nil, I don't know go :-) ) thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi! The Depending on your shell ( |
Beta Was this translation helpful? Give feedback.
-
oohh, I was expecting the response in the standard output. The exit code option is also logical, I didn't thought about it! thanks! |
Beta Was this translation helpful? Give feedback.
Hi!
The
zenity --question
command returns its result in the exit code of the process.Depending on your shell (
cmd
,powershell
, Gitbash
) this should work:zenity --question --text "are you sure?" --title "test" && echo yes || echo no