vscode-matlab-interactive-terminal icon indicating copy to clipboard operation
vscode-matlab-interactive-terminal copied to clipboard

MatlabInterface.clear() send clear to a wrong shell on macOS 11

Open mys721tx opened this issue 2 years ago • 4 comments

On VSCode 1.59.0 with v0.4.0, MatlabInterface.clear() sent clear to sh which does not have clear in its $PATH. This prevent the engine from starting.

Output from the terminal:

sh: clear: No such file or directory
sh: clear: No such file or directory
MATLAB Engine for Python exited prematurely.
Unable to launch Simple server: Unable to launch /Applications/MATLAB_R2021a.app/bin/matlab
because: Timed out reading transport byte from transport
File: "/Users/mys_721tx/foo.m"

mys721tx avatar Aug 14 '21 06:08 mys721tx