AstroSkipper Posted July 21, 2022 Author Share Posted July 21, 2022 (edited) 13 hours ago, George King said: @AstroSkipper I saw that in past. It was not bug in start /wait, but it was caused by used workaround in called app by using some kind of "SendKeys" commands. Of course, when you need to wait until is finished, another crazy workaround is possible. start /wait "XX" cmd /c start mypapp.exe And it can be also launched using invisible.vbs. Yes, it's crazy, but doable, until problematic code in called app is fixed And yes, there could be like another 1000 different reasons why you see it as "bug" Yeah, that's what I said. If you try this batch to launch the proxy, you'll observe the issue mentioned before: @ECHO ON TITLE Start ProxHTTPSProxy CALL A.bat START /WAIT "ProxHTTPSProxy 1.5" "ProxHTTPSProxy.EXE" CALL B.bat EXIT Use dummy code for the batch files A.bat and B.bat. Or replace them by echo messages! Now, you'll definitely observe the bug i.e. the misbehaviour of this command. Edited July 22, 2022 by AstroSkipper Update of content Link to comment Share on other sites More sharing options...
cmalex Posted July 22, 2022 Share Posted July 22, 2022 6 hours ago, George King said: Can you explain me more bug you are talking about? Greetings. Minimal batch testcase. Tested in WinXP, Win Vista (long time ago) and Win8.1(just now). When child cmd closed with 'x' button in top right corner (or by taskkill /FI "WINDOWTITLE eq testX" ), parent cmd will ask "Terminate job batch" and return errorlevel -1073741510. start /w "testX" cmd /k "echo Close me with 'x' button" echo Errorlevel is %errorlevel% pause Workaround (unfotrunatly, with any errorlevel's loss from child app) cmd /c "start "testX" /w cmd /k "echo Close me with x"" echo Errorlevel is %errorlevel% pause Best regards. 1 Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 22, 2022 Author Share Posted July 22, 2022 (edited) @George King Here is a short note on errorlevel -1073741510: Quote Ctrl-C An errorlevel of -1073741510 will be interpreted by CMD.exe as a Ctrl-C Key sequence to cancel the current operation, not the entire script which EXIT will do. This is a quotatation from here: https://ss64.com/nt/exit.html Cheers, AstroSkipper Edited July 22, 2022 by AstroSkipper Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 22, 2022 Author Share Posted July 22, 2022 On 7/17/2022 at 12:20 AM, XPerceniol said: I've got everything you have provided and will keep everything together and ask for help @AstroSkipper when I'm feeling a bit more energetic. Hi @XPerceniol! Has your energy come back? Have you already tried @cmalex's proxy ProxyMII? A short guide can be found here if necessary: Cheers, AstroSkipper Link to comment Share on other sites More sharing options...
jaclaz Posted July 22, 2022 Share Posted July 22, 2022 I had a look, and can confirm that nircmd has a provision to act when a process is closed (waitprocess). Of course it needs to be tested specifically if it causes too much CPU usage and if it works in this case. nircmd also has a "start hidden" command (exec or exec2 /hide) so it could be used instead of cmdow. jaclaz 1 Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 22, 2022 Author Share Posted July 22, 2022 (edited) 57 minutes ago, jaclaz said: I had a look, and can confirm that nircmd has a provision to act when a process is closed (waitprocess). Of course it needs to be tested specifically if it causes too much CPU usage and if it works in this case. nircmd also has a "start hidden" command (exec or exec2 /hide) so it could be used instead of cmdow. jaclaz Thanks for your reply! I know nircmd very well, and I used in the past, too. But cmdow is really great. A lot of parameters! I use it when windows have to be controlled in a batch in different ways. AstroSkipper Edited July 22, 2022 by AstroSkipper Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 22, 2022 Author Share Posted July 22, 2022 (edited) On 7/22/2022 at 12:15 AM, AstroSkipper said: Yeah, that's what I said. If you try this batch to launch the proxy, you'll observe the issue mentioned before: @ECHO ON TITLE Start ProxHTTPSProxy CALL A.bat START /WAIT "ProxHTTPSProxy 1.5" "ProxHTTPSProxy.EXE" CALL B.bat EXIT Use dummy code for the batch files A.bat and B.bat. Or replace them by echo messages! Now, you'll definitely observe the bug i.e. the misbehaviour of this command. Hi @George King! Here now is the code of a batch with the command start /wait, which works as it should: @echo on echo Notepad will be executed start "Notepad" /wait notepad.exe echo Notepad has been executed and closed pause exit You see the command start /wait works with some programs, and with others, it doesn't. That is the epitome of a bug! In the case of starting ProxyMII, the command start /wait fails completely as it is described in Microsoft's documentation. Kindest regards, AstroSkipper Edited July 23, 2022 by AstroSkipper Update of content Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 24, 2022 Author Share Posted July 24, 2022 (edited) Hello to all! In a nutshell, just to keep you informed, an update on progress in the development of ProxHTTPSPoxy's PopMenu TLS 1.3 3V3. The programming work has been nearly finished. Due to the implementation of three new features I had more programming work as I thought. A bit of branding has to be done, too. At next, I have to revise the documentation and to rewrite a lot, unfortunately. The documentation also needs to be expanded to include these new features. Therefore, a lot to do! After that work the testing phase will start as soon as possible. But, frankly, it is fun, of course. Stay tuned! Tomorrow, maybe, I will upload a first screenshot if I can. Cheers, AstroSkipper Edited July 24, 2022 by AstroSkipper Update of content 2 Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 26, 2022 Author Share Posted July 26, 2022 (edited) Hello to all! Here is the next update on progress in the development of ProxHTTPSPoxy's PopMenu TLS 1.3 3V3. Actually, the programming work should have ended, but, after further tests I found some new bugs. I could fix them, at least I think so. I hope there are not more. As promised I uploaded a screenshot of ProxHTTPSPoxy's PopMenu TLS 1.3 3V3. Here it is: Looking at the picture you can see two new entries in the pop-up menu, Minimize ProxHTTPSProxy To Systray and Restore ProxHTTPSProxy From Systray. The arrow shows ProxHTTPSProxy minimized to systray. I replaced the new icon of @cmalex's ProxyMII by the old one. More new features are inside my package and not visible in the picture. One thing is clear, of course, the best feature of this package is the TLS 1.3 functionality, provided by @cmalex's ProxyMII. We can't thank him enough for that! Applause applause! More in the next days! Stay tuned! Cheers, AstroSkipper Edited July 27, 2022 by AstroSkipper Addition 3 Link to comment Share on other sites More sharing options...
George King Posted July 27, 2022 Share Posted July 27, 2022 @AstroSkipper Have you tried it on XP x64 too? Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 27, 2022 Author Share Posted July 27, 2022 1 hour ago, George King said: @AstroSkipper Have you tried it on XP x64 too? No, I can test it on Windows XP Professional 32 Bit only because I neither use Windows XP 64 Bit nor have an installation of it. If @cmalex's ProxyMII runs on this OS, my release will do it, too. Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 27, 2022 Author Share Posted July 27, 2022 (edited) @George King If you are on Windows XP 64 Bit, please test the release ProxyMII! Here is the post with a download link of the most recent version: I think it will run on that OS too, but presumably, the MU website won't work due to signing problems. On 2/20/2022 at 4:09 PM, AstroSkipper said: Due to support of SHA1 for signing certificates ProxHTTPSProxyMII 1.3a can be used in a Windows XP Professional x64 system to access MU successfully. More recent versions use SHA256 to sign certificates and fail while accessing MU. Cheers, AstroSkipper Edited July 27, 2022 by AstroSkipper Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 27, 2022 Author Share Posted July 27, 2022 (edited) Hello again! This is the schedule of tasks to be done for ProxHTTPSProxy's PopMenu TLS 1.3 3V3: Writing a complete documentation (that is not so much fun! ), private testing of my package, fixing of potential bugs, creating an archive containing all necessary files, a short beta test, and then publishing my release of ProxHTTPSProxy's PopMenu TLS 1.3 3V3. You see a bit of work has still to be done. So, stay tuned! Cheers, AstroSkipper Edited July 27, 2022 by AstroSkipper correction 4 Link to comment Share on other sites More sharing options...
AstroSkipper Posted July 27, 2022 Author Share Posted July 27, 2022 (edited) Just an additional observation! I have two different Windows XP Professional SP3 partitions on my old computer. On the one all POSReady updates are installed, on the other none. After several tests of ProxHTTPSProxy's PopMenu TLS 1.3 3V3 on both partitions, I can confirm that no POSReady updates are necessary to run the proxy. it does not seem to matter to have installed any POSReady updates to access websites in IE via TLS 1.3. It simply works. Edited July 27, 2022 by AstroSkipper 3 Link to comment Share on other sites More sharing options...
mina7601 Posted July 28, 2022 Share Posted July 28, 2022 12 hours ago, AstroSkipper said: Hello again! This is the schedule of tasks to be done for ProxHTTPSProxy's PopMenu TLS 1.3 3V3: Writing a complete documentation (that is not so much fun! ), private testing of my package, fixing of potential bugs, creating an archive containing all necessary files, a short beta test, and then publishing my release of ProxHTTPSProxy's PopMenu TLS 1.3 3V3. You see a bit of work has still to be done. So, stay tuned! Cheers, AstroSkipper Nice, can't wait for this! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now