robotpy / pyfrc

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

Update cli_deploy.py #221

Closed martinrioux closed 11 months ago

martinrioux commented 11 months 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.