Is it possible to use unix wildcards with Scala's ProcessBuilder? Is it possible to use unix wildcards with Scala's ProcessBuilder? unix unix

Is it possible to use unix wildcards with Scala's ProcessBuilder?


The glob pattern is a shell feature. You can either glob for files yourself, or execute a shell, passing your arguments to it:

Process( Seq( "/bin/sh", "-c" "rm -r *" ), new File( "/some/dir" ) ) !