mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-30 04:47:20 +02:00
Fixed PDF format as article
Added iterator_traits docs [SVN r22043]
This commit is contained in:
14
doc/syscmd.py
Normal file
14
doc/syscmd.py
Normal file
@ -0,0 +1,14 @@
|
||||
# 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)
|
Reference in New Issue
Block a user