PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: smoothie on 20 February, 2004, 17:31:13

Title: Can lua-script call external console/dll files?
Post by: smoothie on 20 February, 2004, 17:31:13
I have made an app with builtin IP/ISP tables and would like to call it from a script ... is there a way to call external programs from lua and display it's stdout?

- Smoothie.
Title:
Post by: kepp on 20 February, 2004, 18:26:14
Internal yes, not external.
Title:
Post by: NotRabidWombat on 21 February, 2004, 18:01:44
execute( string )

This is the equivalent to a DOS prompt. Blocking is treated the same.

-NotRabidWombat
Title:
Post by: smoothie on 22 February, 2004, 04:29:14
Thank you NotRabidWombat.

- Smoothie.