Shell wildcards don't work on Julia's shell mode Shell wildcards don't work on Julia's shell mode shell shell

Shell wildcards don't work on Julia's shell mode


You're right, the Julia shell REPL mode is not a shell in the sense most people expect, some discussion can be found here and here. Currently, the arguments are passed as is, with no shell expansion so if the program supports a literal '*' that works fine:

shell> find -iname *../file1./file2./file3./file4

If it doesn't you need to figure out another way. Like calling through bash:

shell> bash -c 'ls *'file1  file2  file3  file4

Or using Julia functions/macros:

julia> bash(str::String) = run(`bash -c $str`)bash (generic function with 1 method)julia> macro sh_str(str::String)       bash(str)       endjulia> sh"ls *"file1  file2  file3  file4Process(`bash -c 'ls *'`, ProcessExited(0))


It works here (Windows 10 with Win-builds ls). You might try ls --version in your Python and your Julia shell? Are the files in your Python root working directory and not in your Julia one?

shell> ls --versionls (GNU fileutils) 3.16shell> ls file*file1.txt  file2.txt  file3.txt  file4.txt