I have Bash for windows (linux subsystem) and I'm in the process of creating some powershell scripts (just for fun) for apps I run on Linux so I can just launch them from my desktop.It is all virtualized and offline so I'm really not looking for a lecture in security as I already know the ins and outs of that, just looking to get this working as a fun learning experience ;)This is what I kind of came up with but there are 2 problems:1: My script wont continue after the first line (so powershell will drop into bash but not execute the subsequent commands).2: I need to fill in my root password and I just want it to either skip that or just fill it in for me as some apps need root access.bash (powershell command to drop into the bash shell)export DISPLAY=:0 (necessary for gui apps)sudo (app name)(app asks for password)PasswordSo if I run these commands one by one then it works fine (see attached screenshot from synaptic package manager and powershell) but now I'm just looking to automate this as I'm a lazy sloth :D 
How to run a script in Sudo and automatically fill in my password
ubuntu;windows;for