Skip to content

Conversation

BolexLiu
Copy link
Contributor

shell结果换行。
之前的结果会将shell返回后的字符串拼接在一起,如果使用ls 、ps等这样的命令导致输出的文件夹都拼接在一起无法友好的查看,也不符合命令输出的格式。

@Blankj
Copy link
Owner

Blankj commented Oct 31, 2017

好的,使用 System.getProperty("line.separator");更好哦

@BolexLiu
Copy link
Contributor Author

BolexLiu commented Oct 31, 2017

@Blankj 这个脚本检测是哪里出错了,没有看懂。

@BolexLiu
Copy link
Contributor Author

好的。我改下

@Blankj
Copy link
Owner

Blankj commented Oct 31, 2017

我也不太清楚,An error occurred while generating the build script. 中文问题?

@Blankj Blankj merged commit b158245 into Blankj:master Oct 31, 2017
@Blankj
Copy link
Owner

Blankj commented Oct 31, 2017

我把换行符和文件分割符都写在Utils里了,然后把以前用到的都替换掉。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants