'Why does the chromedriver.exe open a cmd window? [duplicate]

When I run the selenium tests with the chrome opens chromedriver.exe cmd.

How can I hide it?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source