diff --git a/bin/github-backup b/bin/github-backup index 9aa920d..1f4c73e 100755 --- a/bin/github-backup +++ b/bin/github-backup @@ -69,12 +69,15 @@ def logging_subprocess(popenargs, """ child = subprocess.Popen(popenargs, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs) + if sys.platform == 'win32': + log_info("Windows operating system detected - no subprocess logging will be returned") log_level = {child.stdout: stdout_log_level, child.stderr: stderr_log_level} def check_io(): - if sys.platform == 'win32': return + if sys.platform == 'win32': + return ready_to_read = select.select([child.stdout, child.stderr], [], [],