|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
zenity --question help
Hello
I've a script where I've a zenity --question because I want to ask the user if he is sure that he wants to delete the file. The problem is, if the user says "OK" it deletes nad if the user says cancel it deletes ![]() How can I close the script if the user says cancel?? thanks |
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
why don't u use -i option
rm -i file |
| Sponsored Links | ||
|
|
|
#3
|
|||
|
|||
|
Because it's not a regular file. It's a file from a working copy that I use with subversion
|
|
#4
|
||||
|
||||
|
have you tried something like: Code:
zenity --question --title "Alert" --window-icon=none --text "Are you sure you want to delete this file?"; echo =$?= |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Zenity | ruben.rodrigues | Shell Programming and Scripting | 2 | 03-03-2009 07:33 AM |
| Using 'stat' to determine file system type (with Zenity) | mdpalow | Shell Programming and Scripting | 0 | 12-20-2007 12:49 AM |
|
|