Is it supposed to be f:read() or f.read() ?
-MC
I entered this into my Lua scriptlocal f = io.popen("pwd") -- runs commandlocal o = f:read("*a") -- read output of commandand executed the script from fs_cli. This only caused the fs_cli to become unresponsive.Is there something I am doing wrong?ThanksJP
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org