# HG changeset patch
# User Volker Braun <vbraun.name@gmail.com>
# Date 1356612453 0
# Node ID 0002ff91d54a87602a0f94599a9632798b757b2d
# Parent 4387f9218fc895ce24795e117eeedf5a2f2b8fd9
Doctest that the GAP Exec command works in libGAP
diff --git a/sage/libs/gap/element.pyx b/sage/libs/gap/element.pyx
a
|
b
|
|
1322 | 1322 | ... print 'because Sum needs a list as argument' |
1323 | 1323 | ... except ValueError: |
1324 | 1324 | ... pass |
| 1325 | |
| 1326 | sage: libgap_exec = libgap.eval("Exec") |
| 1327 | sage: libgap_exec('echo hello from the shell > /dev/null') |
1325 | 1328 | """ |
1326 | 1329 | cdef libGAP_Obj result = NULL |
1327 | 1330 | cdef libGAP_Obj arg_list |