Dare I ask why you’re doing this? Seems weird to call lua to call python… seems like the wrong approach to me. Maybe outline what you’re trying to accomplish and maybe I could recommend a more sane approach. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Jan 4, 2014, at 4:24 AM, Karsten Horsmann <khorsmann@gmail.com> wrote:
Hi Joli,
is that FS current master or 1.2? In master is 5.2 lua included, in 1.2 is 5.1 Version.
You could test your lua script with the full-path to the python script. Maybe the current working directory of lua is diffrent.
pythonResult = assert (io.popen ('/usr/bin/python /my/full/path/python2lua.py ' ..callerID))