|

楼主 |
发表于 2006-7-4 16:45:20
|
显示全部楼层
为什么还是不可以?
#!/bin/bash
HEIGHT=200
WIDTH=300
gdialog --title "terminal" --inputbox " lease input a command" $HEIGHT $WIDTH | read command
#echo "$command"
eval $command
一输入命令就自动退出了,然后显示我敲的命令,就什么都没有了,怎么样才能让对话框一直存在呢?我找不到问题所在,再帮帮忙,别嫌我烦啊,不管能不能解决问题,很谢谢seamonkey! |
|