DOS windows popping up when comparing files

Bug #1830077 reported by Volker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TextTest
Fix Released
Undecided
Unassigned

Bug Description

Hi,

I am running Texttest under Windows and encountered an issue when I run it in interactive mode from within the UI. When I run my test suite and differences are recognized, DOS boxes from diff.exe are popping up for a second and than vanishes. The problem is that these boxes are taking control on the cursor preventing me to do anything else when running the testsuite.

How can this be avoided?

Searching the web I found some hints how one can avoid these boxes but they all didn't worked out. The last thins I did was writing a small Visual Basic script calling at the end of the day diff.exe from tkdiff. In VB there is an option to suppress the DOS boxes from diff.exe but now I get the boxes from cscript.exe, the program to launch my vbs script.

If there is no way I would suggest to add a possibility to avoid this. There are some web sites explaining how DOS windows can be avoided when called from a Python program such as
subprocess.check_call(["ping", "google.com"], shell=True)

Regards

Revision history for this message
Geoff Bache (geoff.bache) wrote :

As stated on the mailing list sometime ago, a simple fix is to run TextTest using python.exe instead of pythonw.exe.

Another fix is to use a console-window suppression program like hstart.exe.

I cannot however reproduce this using the new Python3-based Python, so it's possibly no longer an issue. Or I haven't yet created a complicated enough diff that the window comes up long enough for me to see it :)

In any case, I'm closing this now. Note that TextTest is moving to Github and further issues should be reported there.

Changed in texttest:
status: New → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Volker (plapperkaefer) wrote :

That's fine. Actually, using python.exe resolved the issue. Thanks for your support.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.