mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
fix #249 Characters not being properly escaped in Python plugins
This commit is contained in:
@@ -89,9 +89,9 @@ namespace Wox.Core.Plugin
|
||||
|
||||
private string RepalceEscapes(string str)
|
||||
{
|
||||
return str.Replace(@"\", @"\\") //Escapes in ProcessStartInfo
|
||||
.Replace(@"\", @"\\"); //Escapes itself when passed to client
|
||||
//todo: replace "
|
||||
return str.Replace(@"\", @"\\") //Escapes in ProcessStartInfo
|
||||
.Replace(@"\", @"\\") //Escapes itself when passed to client
|
||||
.Replace(@"""", @"\\""""");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user