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 - https://discourse.mcneel.com/c/scripting

-Pascal

HI @acceleratoryf,

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

– Dale