Home  Contents

io.popen

IO Lua Commands

SYNOPSIS

io.popen(prog[,mode])

DESCRIPTION

Starts program prog in a separated process and returns a file handle that you can use to read data from this program (if mode is "r", the default) or to write data to this program (if mode is "w").

NOTES

This function is system dependent and is not available on all platforms.