-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
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
使用 tscancode --xml file 2>result.xml 未能正确收集到报告 #32
Comments
好像要以管理员模式执行命令才行 |
在windows下, tscancode.sln文件默认配置了管理员权限, 导致tscancode.exe需要管理员权限, 如果启动的cmd是以普通用户启动的, 执行tscancode.exe将导致另起一个窗口运行, 并且result.xml为空。使用管理员权限运行cmd , 然后在执行tscancode.exe即可。 不太清楚tscancode.exe是不是因为某些操作才需要的管理员权限, 如果不是建议维护者去掉。 如何去掉管理员权? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在Linux系统下检查sample目录下的cpp代码:./tscancode --xml cpp/ 2>result.xml
在result.xml中只有下述信息,并无结果信息。
在windows系统下(win7 or win server2016):.\tscancode --xml cpp/ 2>result.xml
会新建result.xml文件,但文件为空。
请问是我的使用方式有问题吗?
The text was updated successfully, but these errors were encountered: