Skip to content

Instantly share code, notes, and snippets.

View cjnaz's full-sized avatar

Chris Nelson cjnaz

  • Gilbert, Arizona, USA
View GitHub Profile
@vaab
vaab / win_subprocess.py
Last active October 26, 2024 10:17
Fixing python 2.7 windows unicode issue with ``subprocess.Popen``.
# -*- coding: utf-8 -*-
## Copyright (C) 2021 Valentin Lab
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
## are met:
##
## 1. Redistributions of source code must retain the above copyright
## notice, this list of conditions and the following disclaimer.