lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi there,

Am new to lua, and coming here from Python land. One thing that I have been not able to get right after browsing internet for 2 hours (and trying solutions) is run a simple command from within lua, and get the stdout, stderr for it. Here's the command:

otfinfo -p /path/to/file name/ with spaces.otf

It will be great if someone can give a complete solution. The path to filename is coming from a list that does not escape spaces, so spaces are just ' ' characters.

Thanks!