I am trying to use PhantomJS with Selenium Webdriver in C#. Following is my code:

```
IWebDriver driver = new PhantomJSDriver();
driver.Navigate().GoToUrl("http://www.google.com");
Console.WriteLine(driver.Url);
driver.Quit();

```

The code works fine but whenever it runs, it opens up a cmd window where all the log of the phantomjs is displayed. The cmd is also closed with `driver.Quit()`.

The problem is that I do not want the cmd window to be displayed. What should I do to achieve this?

Update:
When I do the same code in Python, the cmd window does not show up. But if I convert the python script to exe using py2exe, the cmd windows starts getting displayed again.