lua-users home
lua-l archive

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


Another wish:

I need to run pppd over pty from Lua script.
pppd do not need stin/stdout redirection (pty name must be specified in parameters).
I think this code must be optional:
                       dup2(ttyfd, 0);
                       dup2(ttyfd, 1);
                       dup2(ttyfd, 2);