I suspect this is a bug introduced in 0.4.2, and an issue on Julia language
may be the right place for reporting. However, reading up on related issues
has got me quite confused and it may already be a known issue. If anybody
could briefly point to an explanation of how the shell commands are
supposed to work, it would be nice. Shell commands (REPL and press ';')
certainly behaves different from what is intuitive for me, namely that
shell commands call the parent context.
The gist of the new behaviour I'm seeing in 0.4.2 is briefly:
(when launched from a terminal)
shell> dir
* ERROR: could not spawn `dir`: no such file or directory (ENOENT)*
* in _jl_spawn at process.jl:262*
shell> ls
success
(when launched by double-clicking)
shell> dir
* ERROR: could not spawn `dir`: no such file or directory (ENOENT)*
* in _jl_spawn at process.jl:262*
shell> ls
* ERROR: could not spawn `dir`: no such file or directory (ENOENT)*
* in _jl_spawn at process.jl:262*
For context, no matter which version of Julia, or from which context I
launch it, I get:
shell> powershell \$PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 0 10586 0