gpt4 book ai didi

shell - 如何在差异查看器仍然打开时让 cleartool diff 返回到命令行?

转载 作者:行者123 更新时间:2023-12-04 07:00:29 24 4
gpt4 key购买 nike

如 SO 问题“Any way to use a custom diff tool with cleartool/clearcase?”的其中一个答案中所述,我已经安装了 WinMerge 并且基于表单的命令在 WinMerge 中打开了一个差异

cleartool diff -g 文件名文件名@@clearcase-virtual-path-to-version-I-want-to_compare-to

但是当我在 cygwin 中运行该命令时,它不会返回到命令提示符,直到我退出 WinMerge。

我想从 .bat 文件或 shell 脚本(给定 ClearCase 事件的更改集中的每个文件一个)执行一些这样的命令,并让它打开多个 WinMerge 实例,或在单个 WinMerge 实例中打开多个窗口。

我曾经能够做到这一点,但我忘记了如何做到。有人可以提醒我吗?

我觉得这不是一个真正的 ClearCase 问题,而是一个关于从 cygwin 命令行生成进程的 DOS 或 shell 问题......

最佳答案

在行尾放置一个&符号以在后台运行它:

cleartool diff -g filename filename@@clearcase-virtual-path-to-version-I-want-to_compare-to &

关于shell - 如何在差异查看器仍然打开时让 cleartool diff 返回到命令行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1936313/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com