private void runIExecutable(IExecutable dll, string arg) { try { SendProtocol(GlassProtocol.SendingProgramStdout); SendString(dll.Main(arg)); } catch (Exception ex) { SendError("Could not execute DLL: " + ex.Message); } }