mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update shell.js
This commit is contained in:
parent
9de4fa64f8
commit
e73358de36
|
@ -42,7 +42,7 @@ var ShellObject = function() {
|
|||
return cmd.map(function(s) {
|
||||
if (s == '') {
|
||||
return "''";
|
||||
} else if (!/[ "]/g.test(s)) {
|
||||
} else if (!/[ "=]/g.test(s)) {
|
||||
return s;
|
||||
} else {
|
||||
return "\"" + addslashes(s) + "\"";
|
||||
|
|
Loading…
Reference in New Issue
Block a user