JavaScript runCommand() glob

Hello, for the function runCommand(), I could do something like runCommand(“ls”, “a.txt”); however, it doesn’t seem like working with runCommand(“ls”, “*.*”).

Do anyone know how to execute shell commands with glob in JavaScript? Thanks in advance

Switching to the Scripting forum -


HI @acceleratoryf,

Are you using Rhino? If so, can you provide more details on what you trying to do and why?

– Dale