We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在linux环境直接执行命令不可以.
服务端中有这样一段代码 String ExecuteCommandCode(String cmdPath, String command) throws Exception { StringBuffer sb = new StringBuffer(""); String[] c = { cmdPath, File.separator=="/"?"-c":"/c", command };
我想其中-c 这部分作者有考虑过linux bash 环境.我不太了解项目该部分的细节代码流程,不知道怎么将命令解释器变更为/bin/sh。谢谢!
你的作品太棒了,永远支持你,望作者持续开发。我想我也可以在shell服务端代码上帮助altman完善。
The text was updated successfully, but these errors were encountered:
找到了一个临时办法。应该是服务端代码判断问题,增加了一个isWin 函数,可以正常列举。
另外命令窗口展示不是很简洁,字体显示乏味。自己单独做了下修改(调整小字体,按个人喜好更换了深色)。我可以提交代码吗?:dancer: 。麻烦作者解答!:hand:
https://github.com/aaaaaaaannn/fix-commandshow/blob/master/test.jsp
Sorry, something went wrong.
欢迎使用Pull Requests功能:)
嗯!有在研究
No branches or pull requests
在linux环境直接执行命令不可以.
服务端中有这样一段代码
String ExecuteCommandCode(String cmdPath, String command) throws Exception {
StringBuffer sb = new StringBuffer("");
String[] c = { cmdPath, File.separator=="/"?"-c":"/c", command };
我想其中-c 这部分作者有考虑过linux bash 环境.我不太了解项目该部分的细节代码流程,不知道怎么将命令解释器变更为/bin/sh。谢谢!
你的作品太棒了,永远支持你,望作者持续开发。我想我也可以在shell服务端代码上帮助altman完善。
The text was updated successfully, but these errors were encountered: