1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 21:22:26 +01:00

add global flag to escapeQuotes() in io.system

This commit is contained in:
Doug Kearns
2008-10-02 05:43:25 +00:00
parent 48885a5f1a
commit 7c9c7f0f63

View File

@@ -719,7 +719,7 @@ lookup:
var stdoutFile = ioManager.createTempFile();
var stderrFile = ioManager.createTempFile();
function escapeQuotes(str) str.replace('"', '\\"');
function escapeQuotes(str) str.replace('"', '\\"', "g");
if (!stdoutFile || !stderrFile) // FIXME: error reporting
return "";