This commit is contained in:
Master Kwoth 2017-07-06 19:46:23 +02:00
parent a55f61aa8c
commit 8331af2870

View File

@ -32,6 +32,7 @@ namespace NadekoBot.Services.Impl
process.Start(); process.Start();
var str = await process.StandardOutput.ReadToEndAsync(); var str = await process.StandardOutput.ReadToEndAsync();
var err = await process.StandardError.ReadToEndAsync(); var err = await process.StandardError.ReadToEndAsync();
if(!string.IsNullOrEmpty(err))
_log.Warn(err); _log.Warn(err);
return str; return str;
} }