Something in the PATH works (e.g.):
run(`git submodule update --init --recursive $smName`)
where smName is a string defined previously.
But, when I want to run a script in a directory, something like
where either one of those works calling it in a cmd or powershell window. I get
ERROR: LoadError: could not spawn `./bootstrap`: no such file or directory (ENOENT)
ERROR: LoadError: could not spawn `'.\bootstrap'`: no such file or directory (ENOENT)
The latter error presents another problem (because quoting the command won’t run the command). It still shouldn’t fail, however, because running that single-quoted string in powershell returns the quoted string back to you:
> '.\bootstrap' .\bootstrap
So, what am I doing wrong here? FYI, it works perfectly on linux.