求助,脚本执行完终端显示"命令已经执行完成,请按回车退"
Tofloor
poster avatar
dreco
deepin
2017-08-03 06:00
Author
本帖最后由 dreco 于 2017-8-2 22:03 编辑

求助,脚本执行完终端显示"命令已经执行完成,请按回车退出"
怎么关闭这个特性? 可以加个命令行参数吗?
Reply Favorite View the author
All Replies
avatar
dreco
deepin
2017-08-03 06:04
#1
还发现了一个终端的bug:
deepin-terminal -e  command arg

-e之后命令的参数也会被deepin-terminal解析
Reply View the author
avatar
dreco
deepin
2017-08-03 06:09
#2
比如
➜  ~ deepin-terminal -e w3m -B
error: 未知选项 -B
运行 'deepin-terminal --help' 查看可用命令行选项的完整列表
Reply View the author
avatar
jingle
deepin
2017-08-03 15:32
#3
Reply View the author
avatar
星外之神
deepin
2017-08-03 16:02
#4
那个执行完后显示结果的建议其实是我提的哈哈哈哈
Reply View the author
avatar
星外之神
deepin
2017-08-03 16:03
#5
但是有些人不需要所以建议还是在终端设置里面搞个开关。 https://bbs.deepin.org/user/33235
Reply View the author
avatar
wangyong
deepin
2017-08-04 01:44
#6
https://bbs.deepin.org/post/143637
比如
➜  ~ deepin-terminal -e w3m -B
error: 未知选项 -B

正确姿势:deepin-termianl -e 'w3m -B'
Reply View the author
avatar
rdlg
deepin
2017-08-04 02:06
#7
https://bbs.deepin.org/post/143637
正确姿势:deepin-termianl -e 'w3m -B'

不行 我之前遇到过。。。
  1. → deepin-terminal -e 'ls -l'

  2. ** (deepin-terminal:30333): WARNING **: terminal.vala:989: Terminal launch_idle_id: 执行子进程“ls -l"失败(没有那个文件或目录)
Copy the Code
Reply View the author
avatar
rdlg
deepin
2017-08-04 02:10
#8
本帖最后由 rdlg 于 2017-8-3 18:13 编辑

发现可以这样
  1. deepin-terminal -- -e ls -l
Copy the Code
不过应该是巧合。。。
Reply View the author
avatar
DebuggerX
deepin
2017-08-04 02:45
#9
https://bbs.deepin.org/post/143637
不行 我之前遇到过。。。
  1. http://blog.chinaunix.net/uid-14735472-id-5598215.html
Copy the Code
Reply View the author
avatar
dreco
deepin
2017-08-04 05:03
#10
https://bbs.deepin.org/post/143637
正确姿势:deepin-termianl -e 'w3m -B'

然而不行
Reply View the author
avatar
dreco
deepin
2017-08-04 05:04
#11
https://bbs.deepin.org/post/143637
发现可以这样
不过应该是巧合。。。

真的可以嘿
Reply View the author
avatar
风吹过的绿洲
deepin
2018-08-09 08:40
#12
这个有最终的解决办法么?
Reply View the author