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 <[email protected]> > 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 > [email protected].**org <[email protected]> > https://lists.openwrt.org/**mailman/listinfo/openwrt-devel<https://lists.openwrt.org/mailman/listinfo/openwrt-devel> >
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
