diff options
Diffstat (limited to 'support/cluttex/src/texrunner/shellutil.lua')
-rw-r--r-- | support/cluttex/src/texrunner/shellutil.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/support/cluttex/src/texrunner/shellutil.lua b/support/cluttex/src/texrunner/shellutil.lua new file mode 100644 index 0000000000..14068662e2 --- /dev/null +++ b/support/cluttex/src/texrunner/shellutil.lua @@ -0,0 +1,26 @@ +--[[ + Copyright 2016 ARATA Mizuki + + This file is part of ClutTeX. + + ClutTeX is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + ClutTeX is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with ClutTeX. If not, see <http://www.gnu.org/licenses/>. +]] + +-- This module provides: shellutil.escape(s) + +if os.type == "windows" then + return require("texrunner.shellutil_windows") +else + return require("texrunner.shellutil_unix") +end |