9 posts
Posted 05 April 2012 - 03:37 PM
I am making a simple GUI for a server that I play on but I can't figure out how to execute a terminal command such as "ls" inside of a program. I think it is a Shell command of some sort. I have looked at tutorial after tutorial. Even going to look at the actual Lua documentation.
Thanks in advance.
454 posts
Location
London
Posted 05 April 2012 - 04:31 PM
You're looking for
shell.run.
See
help shellapi.
Sample:
shell.run("program", "arg1", "arg2") = 'program arg1 arg2'
9 posts
Posted 05 April 2012 - 04:35 PM
You're looking for
shell.run.
See
help shellapi.
Sample:
shell.run("program", "arg1", "arg2") = 'program arg1 arg2'
hmm interesting. I was almost positive I've tried Shell.run. Thank you! Now it seems like that was a question that didn't deserve asking. hence the "clueless" I guess.