Jump to content

VSCode - Scripts running in Powershell..


Recommended Posts

Posted

Hello fellow edugeeks!

 

I've been tasked with deploying vscode to one of our IT suites so it can be used with Python; the deployment itself has been fine, but I'm running into issues when it comes to executing code.

When I try to run a python file in VSCode, it comes up with an error as its being prevented by a software restriction policy.

 

Upon checking event viewer, its trying to open Powershell (?) - for various reasons I'm not allowing students access to powershell.

Is there any way that this can be changed so that it runs either in a built-in terminal or via. the python app?

 

Thanks!

F_Admin

Posted
for various reasons I'm not allowing students access to powershell.

 

Your're giving them access to Python, why are you worried about Powershell ???

 

If you want to do this securely, you'll need to do so in an isolated environment such as a VM or on a dedicated server paltform.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...