mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	test_popen2 broke on Windows shortly after 2.0b2 was released. Fixed it.
This commit is contained in:
		
							parent
							
								
									cf0a1cc417
								
							
						
					
					
						commit
						d215218178
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -111,7 +111,7 @@ def __init__(self, cmd, bufsize=-1): | ||||||
| 
 | 
 | ||||||
| if sys.platform[:3] == "win": | if sys.platform[:3] == "win": | ||||||
|     # Some things don't make sense on non-Unix platforms. |     # Some things don't make sense on non-Unix platforms. | ||||||
|     del Popen3, Popen4, _active, _cleanup |     del Popen3, Popen4 | ||||||
| 
 | 
 | ||||||
|     def popen2(cmd, bufsize=-1, mode='t'): |     def popen2(cmd, bufsize=-1, mode='t'): | ||||||
|         """Execute the shell command 'cmd' in a sub-process.  If 'bufsize' is |         """Execute the shell command 'cmd' in a sub-process.  If 'bufsize' is | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Peters
						Tim Peters