Jump to content




How do I use shell.run()?


  • You cannot reply to this topic
1 reply to this topic

#1 OrionDude

  • Members
  • 5 posts

Posted 07 January 2014 - 02:52 PM

Excellent job! just one question how if even possible can i run this in the startup program using shell.run()?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 07 January 2014 - 03:38 PM

I've split this into its own topic.

Essentially, all you need to do is take whatever command you use to start the program and just pass it as a string to shell.run().

For example, you might use:

shell.run("monitor top edit /rom/programs/shell")

Obviously, that's not the exact command you want to use, but it should give you some idea how to accomplish it.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users