Jump to content




What command do I use to access the command prompt?


1 reply to this topic

#1 MechanicalMorgan

  • Members
  • 3 posts

Posted 23 June 2017 - 04:18 PM

Also, when I have my program run "ls" It doesn't show the filesIi have on the system, so am I being stupid, or have I typed something wrong.

Thanks!

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 24 June 2017 - 06:45 AM

Assuming you want a script to suddenly jump to the prompt without exiting (so it can carry on when that shell session ends):

shell.run("shell")

If you want a script to get a directory listing, best to use fs.list() rather than shell.run("ls").

Edited by Bomb Bloke, 24 June 2017 - 06:45 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users