mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 09:49:07 +00:00
Fix #113: read buffer before waiting
This commit is contained in:
@@ -148,9 +148,9 @@ namespace QuickLook.Plugin.ImageViewer.Exiv2
|
||||
p.StartInfo.Arguments = arg;
|
||||
p.StartInfo.StandardOutputEncoding = Encoding.UTF8;
|
||||
p.Start();
|
||||
p.WaitForExit();
|
||||
|
||||
result = p.StandardOutput.ReadToEnd();
|
||||
p.WaitForExit(1000);
|
||||
}
|
||||
|
||||
return string.IsNullOrWhiteSpace(result)
|
||||
|
Reference in New Issue
Block a user