fix #249 Characters not being properly escaped in Python plugins

This commit is contained in:
qianlifeng 2015-03-08 14:58:14 +08:00
parent 6d3f3985a2
commit 6b6ab5e752

View File

@ -89,9 +89,9 @@ namespace Wox.Core.Plugin
private string RepalceEscapes(string str) private string RepalceEscapes(string str)
{ {
return str.Replace(@"\", @"\\") //Escapes in ProcessStartInfo return str.Replace(@"\", @"\\") //Escapes in ProcessStartInfo
.Replace(@"\", @"\\"); //Escapes itself when passed to client .Replace(@"\", @"\\") //Escapes itself when passed to client
//todo: replace " .Replace(@"""", @"\\""""");
} }
} }