Jump to content




Running a program inside a program?


  • You cannot reply to this topic
2 replies to this topic

#1 Rwkeith

  • Members
  • 56 posts

Posted 03 September 2012 - 05:37 PM

Hi, I'm trying to run a program using os.run or shell.run and I have no luck. I'm trying to create a program that will automatically run "gps host x,y,z". But it will only run gps, and not 'gps host'. There's no api for this so im stuck with running it. Can anyone mind telling me what I'm doing wrong?

#2 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 03 September 2012 - 05:40 PM

the usage is the following:
shell.run("programname", "param1", "param2", "param3", "param4") --and so on...


#3 Rwkeith

  • Members
  • 56 posts

Posted 03 September 2012 - 05:47 PM

View Postardera, on 03 September 2012 - 05:40 PM, said:

the usage is the following:
shell.run("programname", "param1", "param2", "param3", "param4") --and so on...
Thanks, I figured out my problem.

shell.run("gps","host",10,20,30)






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users