public void DeleteDb(string dbName) { DXVsExtensionPackage options = package as DXVsExtensionPackage; var deleteProcessPath = options.DeleteProgramFilePath; System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = deleteProcessPath; proc.StartInfo.Arguments = "-" + dbName; proc.Start(); }
void openInFork(string gitFolderName) { DXVsExtensionPackage options = package as DXVsExtensionPackage; var forkPath = options.ForkFilePath; System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = forkPath; gitFolderName = "\"" + gitFolderName + "\""; proc.StartInfo.Arguments = gitFolderName; proc.Start(); }