I added a print, but in my browser development tools do not see any
messages(no error), just want to know the "%s" value.

thank you again!

elvis

2012/12/8 David Favro <open...@meta-dynamic.com>

> On 12/07/2012 05:04 AM, . Elvis wrote:
>
>> i want print follow command "%s",how to do print?
>>
>>  return os.execute("/sbin/luci-reload %s >/dev/null 2>&1"
>>                         % table.concat(configlist, " "))
>>
>
> If I understand you correctly (not sure that I do, and I also know nothing
> of LuCI), you might try:
>
> local cmd = "/sbin/luci-reload %s >/dev/null 2>&1"
>                          % table.concat(configlist, " ");
> print( cmd );
> return os.execute( cmd );
> ______________________________**_________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.**org <openwrt-devel@lists.openwrt.org>
> https://lists.openwrt.org/**mailman/listinfo/openwrt-devel<https://lists.openwrt.org/mailman/listinfo/openwrt-devel>
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to