Author Topic: Windows SE26 vsdiff does not work with start /wait  (Read 1209 times)

ebbe

  • Community Member
  • Posts: 45
  • Hero Points: 2
Windows SE26 vsdiff does not work with start /wait
« on: November 09, 2021, 02:58:26 PM »
Hi

I just discovered the hard way that the SE26 Windows version of vsdiff.exe returns immediately to the command line when called as follows:

Code: [Select]
start /wait vsdiff.exe
The Windows SE25 version of vsdiff.exe does not return until it is closed by the user - and this is the expected behavior.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2897
  • Hero Points: 153
Re: Windows SE26 vsdiff does not work with start /wait
« Reply #1 on: November 09, 2021, 07:28:17 PM »
I will be looking into this.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2897
  • Hero Points: 153
Re: Windows SE26 vsdiff does not work with start /wait
« Reply #2 on: November 23, 2021, 04:43:15 PM »
Sorry for the slow reply on this.  What I get isn't what I would expect, but I get the same in 25.0.2.

Have you tried running vsdiff.exe without start?  It should wait, and that is what I'm seeing 26.0.0.

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Windows SE26 vsdiff does not work with start /wait
« Reply #3 on: December 03, 2021, 09:36:16 PM »
The difference is V25, VSDiff.exe would launch VS.exe, and VSDiff.exe stays running.

In V26, VSDiff.exe launches VS.exe, then VSDiff.exe terminates right away - so there is no way for a script or anything to wait for the real VSDiff to end.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2897
  • Hero Points: 153
Re: Windows SE26 vsdiff does not work with start /wait
« Reply #4 on: December 05, 2021, 08:59:41 PM »
Clark fixed this for 26.0.1.

ebbe

  • Community Member
  • Posts: 45
  • Hero Points: 2
Re: Windows SE26 vsdiff does not work with start /wait
« Reply #5 on: December 06, 2021, 08:16:47 AM »
Thank you  :)