View Single Post
Old 11-09-2009, 09:55 PM   #108
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Can I use pipe in Lua script?

I want to write a lua script which calls a command and redirect the output of that command back to lua script. In C, I use FILE *p = popen(). I wonder if I can do the same thing easily in lua script. Thanx for help.
ericshliao is offline   Reply With Quote