On Wed, 20 May 2009 15:48:28 -0000 Osobimbo <osobimb...@gmail.com> wrote:
Hi, This is a bit out of order here since it has nothing to do with the actual problem. It is setting up a bypass to deal with a somewhat clumsy use of STDERR for other purposes than ouputting error messages. The problem in your script is in this line: > $DIALOG --title "photo control" --clear \ > --inputbox "write your number" 8 25 2> $tempfile The error message is put in $tempfile and causes trouble later. If you use stdout for the xdialog output instead of stderr, it will be OK again. Replace the line above by: > $DIALOG --title "photo control" --clear --stdout\ > --inputbox "write your number" 8 25 >$tempfile The command option has been added, the redirection of stderr (2) has been changed in redirection of stdout. Kind regards, Menno -- Failed to load module "libcanberra-gtk-module.so" https://bugs.launchpad.net/bugs/368175 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs