예제 #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"));
        }