Bash: what's wrong with gdialog ??
gdialog --title "User Input" --inputbox "Enter variable, please:"
Code:
VR=`gdialog --title "User Input" --inputbox "Enter variable, please:"` ; echo $VR |
Use zenity:
Code:
VR=$(zenity --title "User Input" --entry --text "Enter variable, please:") |
Quote:
but it seems to work Quote:
|
Yes the gdialog man page says inputbox will print to standard error. So, it is logical that will work. I have no idea why they did it that way. But, I think Zenity is mean to replace gdialog, anyway.
|
All times are GMT -5. The time now is 08:13 AM. |