I entered this into my Lua script

local f = io.popen("pwd") -- runs command
local o = f:read("*a") -- read output of command

and executed the script from fs_cli. This only caused the fs_cli to become unresponsive.

Is there something I am doing wrong?

Thanks
JP