4 posts
Posted 23 June 2017 - 05: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!
7083 posts
Location
Tasmania (AU)
Posted 24 June 2017 - 07: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 on 24 June 2017 - 05:45 AM