1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 04:55:47 +01:00
This commit is contained in:
Kris Maglione
2012-01-26 19:22:22 -05:00
parent ff07625766
commit 97ff27f575
2 changed files with 26 additions and 23 deletions

View File

@@ -1316,7 +1316,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
* Escapes a string against shell meta-characters and argument
* separators.
*/
shellEscape: function shellEscape(str) '"' + String.replace(str, /[\\"$]/g, "\\$&") + '"',
shellEscape: function shellEscape(str) '"' + String.replace(str, /[\\"$`]/g, "\\$&") + '"',
/**
* Suspend execution for at least *delay* milliseconds. Functions by