Control command line by C#

Hi guys,
I have a question about how to enscape Grasshopper option(in initial Rhino command line), each time when I try to make Rhino.RhinoApp.RunScript(cmd,false) to import something, there’s always Grasshopper option ( Window Document Solver Banner ) command prompt to block C# script.

Dose anyone knows how to finish Grasshopper option and make import command exeute automaticlly?

import (4.7 KB)


And if I open Grasshopper after open Rhino, the command line’ll like this: _Grasshopper, and there’s no Grasshopper option to block script.