News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: os.execute

There is also io.popen("my_command")

more specifically:

my_cmd=io.popen("my_command") -- runs command
my_result=my_cmd:read("*a") -- read output of command to a variable

This post was last modified: 06-02-2008 01:24 AM by mikshaw.

06-02-2008 01:22 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
os.execute - asafp - 05-31-2008, 11:30 AM
RE: os.execute - JohnMurga - 05-31-2008, 02:06 PM
RE: os.execute - mikshaw - 06-02-2008 01:22 AM
RE: os.execute - asafp - 06-02-2008, 07:44 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: