Re: Prompt console window many times for cleartool when post-review and viewing diff on Windows 7

2013-01-23 Thread Tao Zhou
sorry, introduced pdb.set_trace() by mistake into the patch, plz delete this line, and use the patch as below: diff --git a/reviewboard/scmtools/clearcase.py b/reviewboard/scmtools/clearcase.py index 19ea97f..35888e3 100644 --- a/reviewboard/scmtools/clearcase.py +++ b/reviewboard/scmtools/clear

Re: Prompt console window many times for cleartool when post-review and viewing diff on Windows 7

2013-01-22 Thread Tao Zhou
I found out that the cause, the problem is the code to call cleartool.exe in reviewboard\scmtools\clearcase.py, if add 'shell=True' paramter to all the subprocess.Popen(...), there will no annoying console window pop up. patch code as below: diff --git a/reviewb

Prompt console window many times for cleartool when post-review and viewing diff on Windows 7

2013-01-21 Thread Tao Zhou
My Environment: OS: Windows 7 32bit Python: 2.7.3 Review Board: 1.7.2 Web Server: apache 2.2 Clearcase: clearcase 7.1.2 I setup a Review Board server on Windows 7, and encountered a very strange problem, each time when others doing post-review, viewing diff, etc,cmd console window will prompt