Changeset 48


Ignore:
Timestamp:
05/02/11 05:47:45 (2 years ago)
Author:
reyalP
Message:

use chdku.execwait

Location:
trunk/lua
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lua/chdku.lua

    r47 r48  
    428428        local results={} 
    429429        local i=1 
    430         local status,err=chdku.exec("return ls('"..path.."',"..opts..")",{ 
    431                 wait=true, 
     430        local status,err=chdku.execwait("return ls('"..path.."',"..opts..")",{ 
    432431                libs='ls', 
    433432                msgs=chdku.msg_unbatcher(results), 
  • trunk/lua/cli.lua

    r45 r48  
    300300                        local rets={} 
    301301                        local msgs={} 
    302                         local status,err = chdku.exec(args,{rets=rets,msgs=msgs,wait=true}) 
     302                        local status,err = chdku.execwait(args,{rets=rets,msgs=msgs}) 
    303303                        if not status then 
    304304                                return false,err 
Note: See TracChangeset for help on using the changeset viewer.