robotpy / pyfrc

python3 library designed to make developing RobotPy-based code easier!
MIT License
52 stars 35 forks source link

Update cli_deploy.py #221

Closed martinrioux closed 1 year ago

martinrioux commented 1 year ago

Using os.getlogin() doesn't work with VS Code terminals since they are non controlling terminal (child of a process). Using getpass.getuser() uses environment variables and works with both controlling and non controlling terminals.