private static Task ExecuteWorkerService(string commandVerb, InstallDirectoryItem appInstallation, int?timeoutSeconds = null, string startOptions = null) { var workerServiceFile = Path.Combine(appInstallation.Directory.FullName, WorkerServiceFile); var workerServiceArguments = BuildServiceCommand(commandVerb, appInstallation, timeoutSeconds, startOptions); return(MonoHelper.ExecuteProcessAsync(workerServiceFile, workerServiceArguments)); }