coverity中cov-run-desktop中的@@参数
时间: 2024-03-28 15:41:57 浏览: 22
`@@` 不是 `cov-run-desktop` 命令的参数,而是一种特殊的语法,用于将文件名作为参数传递给应用程序。在 Windows 中,这种语法通常用于将文件名传递给命令行应用程序。例如,在 Windows 命令提示符中执行以下命令:
```
notepad.exe C:\Users\username\file.txt
```
这将打开 Notepad 并加载 `C:\Users\username\file.txt` 文件。使用 `@@` 语法,可以将文件名作为参数传递给应用程序,例如:
```
notepad.exe @@
```
这将打开 Notepad 并等待用户手动输入要打开的文件名。如果你在 `cov-run-desktop` 命令中使用 `@@` 语法,将会在 Coverity GUI 界面中显示一个文件选择对话框,供用户选择要分析的文件。例如,以下命令将在 Coverity GUI 界面中打开文件选择对话框,并等待用户选择要分析的文件:
```
cov-run-desktop --dir="C:\Program Files\MyApp" myapp.exe @@
```
请注意,这需要应用程序支持从命令行参数中读取文件名。
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)