'VSCode - run existing script in terminal

Want to run script which is in WSL (bash scrip which is under Ubuntu - WSL) from vscode terminal (which is on windows). Situation:

  1. Ubuntu is installed on WSL
  2. VSCode is connected to those WSL (over Terminal)
  3. In VSCode under Terminal - when is written (by hand) command to run script (ex. ./executed.bash) => it Runs!
  4. Wanted: => Want to run script with shortcut instead of every time writing "./executed.bash" in terminal

Question: Is there extension or some easy way to setup arguments to terminal?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source