Пример #1
0
        public async Task <bool> IsPythonInstalled()
        {
            var result = await AsyncProcess.StartWithOuput("python", "-V", ProcessRedirectStream.StandardError);

            return(result.Contains("Python"));
        }
Пример #2
0
        public async Task <bool> IsGuessItInstalled()
        {
            var result = await AsyncProcess.StartWithOuput("guessit", "--version", ProcessRedirectStream.StandardOuput);

            return(result.Contains("GuessIt"));
        }