I have not yet nailed down exactly what is happening, but my batch files behave differently
when I invoke htmlvalidator depending it if it already running or if it has to start afresh.
I would like some way to make them behave consistently, as if it were not already loaded.
At this point I can't be more specific. I don't yet know just what is happening, just that my batch files don't work when HTMLValidator is already running.
I think it may be the subsequent steps start running even before HTML validator has done its thing.
using HTMLValidator in batch files
- Albert Wiersch
- Site Admin
- Posts: 3783
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: using HTMLValidator in batch files
That's strange. Of course I would need to know the details to determine exactly what is happening.
You may want to try adding the -msgwindow option to run a separate instance... like this:
The it should start a new instance if it's already running (unless the already running instance was already launched with the same msgwindow name).
You may need to add the same -msgwindow option to all cmdlineprocessor.exe calls you are making in the batch file, so they all work using the same instance.
Here is more information:
http://www.htmlvalidator.com/current/do ... d_line.htm
You may want to try adding the -msgwindow option to run a separate instance... like this:
Code: Select all
cmdlineprocessor.exe -msgwindow batchinstance ...
You may need to add the same -msgwindow option to all cmdlineprocessor.exe calls you are making in the batch file, so they all work using the same instance.
Here is more information:
http://www.htmlvalidator.com/current/do ... d_line.htm
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial