|
Last change
on this file since 12 was
12,
checked in by landauf, 18 years ago
|
|
added boost
|
-
Property svn:executable set to
*
|
|
File size:
427 bytes
|
| Line | |
|---|
| 1 | # Copyright David Abrahams 2004. Use, modification and distribution is |
|---|
| 2 | # subject to the Boost Software License, Version 1.0. (See accompanying |
|---|
| 3 | # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 4 | |
|---|
| 5 | import os |
|---|
| 6 | import sys |
|---|
| 7 | |
|---|
| 8 | def syscmd(s): |
|---|
| 9 | print 'executing: ', repr(s) |
|---|
| 10 | sys.stdout.flush() |
|---|
| 11 | err = os.system(s) |
|---|
| 12 | if err: |
|---|
| 13 | raise SystemError, 'command: %s returned %s' % ( |
|---|
| 14 | repr(s), err) |
|---|
Note: See
TracBrowser
for help on using the repository browser.