luci-base: Add function for shell single-quote parameter escaping 561/head
authorDaniel Dickinson <openwrt@daniel.thecshore.com>
Wed, 2 Dec 2015 04:47:42 +0000 (23:47 -0500)
committerDaniel Dickinson <openwrt@daniel.thecshore.com>
Wed, 2 Dec 2015 07:19:02 +0000 (02:19 -0500)
When using os.execute or luci.sys.call the shell is called with the
command line which means that standard shell interpretation of strings
occurs.  To allow to use these commands more easily we add functions
for properly escaping single-quoted strings used on the command line


No differences found