deepin自带文本编辑器命令行参数问题
Tofloor
poster avatar
135******75
deepin
2019-12-20 18:24
Author
deepin-editor 命令行参数中 文件名不能有空格,这是不是有缺陷
问题例子: deepin-editor   ./'Clone of Windows7x64.vmx'

不能像 emacs      ./'Clone of Windows7x64.vmx' 一样
Reply Favorite View the author
All Replies
avatar
enderturtle
deepin
2019-12-20 18:44
#1
应该这样写
deepin-editor Clone" "of" "Windows7x64.vmx
Reply View the author
avatar
135******75
deepin
2019-12-20 20:35
#2
https://bbs.deepin.org/post/187114
应该这样写
deepin-editor Clone" "of" "Windows7x64.vmx

一样显示“无效的文件”
终端窗口输出
zime@zime-PC:/media/zime/data/Clone of Windows7x64$ deepin-editor Clone" "of" "Windows7x64.vmx
load translate "/usr/share/dtkwidget/translations/dtkwidget2_zh_CN"
load translate "/usr/share/deepin-editor/translations/deepin-editor_zh_CN"
No appenders registered with logger
[Warning] <> QFileSystemWatcher::removePaths: list is empty
[Warning] <> QFileSystemWatcher::removePaths: list is empty
Reply View the author
avatar
走钢丝
deepin
2019-12-20 20:46
#3
https://bbs.deepin.org/post/187114
一样显示“无效的文件”
终端窗口输出
zime@zime-PC:/media/zime/data/Clone of Windows7x64$ deepin-edi ...

无 效 的 文 件 不 是 说 找 不 到 文 件,而 是 这 个 文 件 deepin-editor 无 法 正 确 打 开。。。
这 确 实 是 个 问 题,一个 文 本 编 辑 器 会 打 不 开 各 种 非 支 持 文 件 也 是 有 点 奇 怪。https://bbs.deepin.org/user/114126
Reply View the author
avatar
BLumia
deepin
2019-12-22 01:32
#4
https://bbs.deepin.org/post/187114
无 效 的 文 件 不 是 说 找 不 到 文 件,而 是 这 个 文 件 deepin-editor 无 法 正 确 打 开。。。
这 ...

原编辑器开发者做了这种限制,我也不是很清楚这么做的目的,虽然说这种限制很好去掉(((
Reply View the author