Rhino and Grasshopper

I want to run Rhino and Grasshopper on Windows Server. The terminal does not allow us to call GUIs because servers (Linux and/or Windows) are not designed to utilize GUIs. I am able to hide Grasshopper GUI when I run the a script on the server, but I also need to hide the Rhino GUI on the server. Any idea how to achieve that? Is it possible to define a virtual GUI in Rhino maybe?

I open Rhino because my Grasshopper script uses Rhino library. I just want the Rhino to run in the background by prompting a command. Thanks!

I use RhinoScript to write a script that opens a grasshopper file. Here is the script:

urbanCFDFilePath = r "C:\Users\PATH"
import clr
clr.AddReferenceByName(“Grasshopper”)
import System
import Rhino
import Grasshopper
from Rhino import RhinoApp, RhinoDoc
gh = RhinoApp.GetPlugInObject(“Grasshopper”)
gh.LoadEditor()
gh.CloseAllDocuments()
gh.HideEditor()
gh.OpenDocument(urbanCFDFilePath)

The only way to run Rhino hidden it to run it using ActiveX automation. Here is some information and an example of what I am talking about.

http://wiki.mcneel.com/developer/automation


https://github.com/dalefugier/SampleCsAutomation