John
John

Reputation: 247

How can I open Scilab in my Windows console?

How can I open Scilab in my Windows console? I have it installed and I see it when I search in the search bar but I don't know how to run it inside my console. I would like to use it inside my integrated Visual Studio Code terminal.

Seaching the search bar

Upvotes: 0

Views: 709

Answers (1)

postanote
postanote

Reputation: 16096

I have no idea what Scilab is, never seen it, never used it. However as for the VScode terminal settings, this is a well-documented thing from Microsoft...

User and Workspace Settings

Integrated Terminal

... and has been covered before on Stackoverflow.

As per the accepted answer shows:

There is a way to make this happens with these steps by installing an extension:

Find an extension called Shell launcher and install it. Reload VS Code if you want or after you finished all steps.

Go to Files --> Preferences --> Settings and this will open settings.json file and you then insert this (you can edit this to your heart's content):

Code:

"shellLauncher.shells.windows": [
    {
        "shell": "C:\\Windows\\<sysnative>\\cmd.exe",
        "label": "cmd"
    },
    {
        "shell": "C:\\Windows\\<sysnative>\\WindowsPowerShell\\v1.0\\powershell.exe",
        "label": "PowerShell"
    },
    {
        "shell": "C:\\Program Files\\Git\\bin\\bash.exe",
        "label": "Git bash"
    },
    {
        "shell": "C:\\Windows\\<sysnative>\\bash.exe",
        "label": "WSL Bash"
    }
]

Update

I just took a look on Youtube for Scilab, and it has it's own completely stand-alone GUI console. You cannot run a GUI console in VScode, only terminal-like consoles, so, if it does have a cmd.exe -like, bash-like console, then the above approach applies.

Upvotes: 1

Related Questions