mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-30 20:40:28 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			427 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			427 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Copyright David Abrahams 2004. Use, modification and distribution is
 | |
| # subject to the Boost Software License, Version 1.0. (See accompanying
 | |
| # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 | |
| 
 | |
| import os
 | |
| import sys
 | |
| 
 | |
| def syscmd(s):
 | |
|     print 'executing: ', repr(s)
 | |
|     sys.stdout.flush()
 | |
|     err = os.system(s)
 | |
|     if err:
 | |
|         raise SystemError, 'command: %s returned %s' % (
 | |
|             repr(s), err)
 |