fix whitespace module execSync under Windows with no shebang
fixes #2700
In case the eslint version is 8, whitespace.js file tries to execute whitespace-async.js file.
whitespace-async.js file starts with shebang header #!/usr/bin/env node which doesn't work under Windows.
It cannot be executed right away without definition of interpreter.
In case we try to execute it with execSync or any other fork tool it opens up a dialog for choosing a program to open the .js file.
It requires explicit definition of node interpreter at the place of execution.
windowsHide option prevents opening of cmd window during execution and it is ignored under non-Windows systems.
there is another PR which is outdated. made a fresh one
This is a duplicate of #2706. Please don't file duplicate PRs - if one is outdated, you can comment on that PR with your branch and maintainers can pull it in.