[GAP Forum] Bug in Process()

Alexander Hulpke hulpke at math.colostate.edu
Tue Apr 27 16:53:39 BST 2004

Dear Frank Heckenbach,

> GAP 4.4.2 I see this:
>   gap> s := "";;
>   gap> out := OutputTextString (s, true);;
>   gap> inp := InputTextFile ("/dev/null");;
>   gap> Process (DirectoryCurrent(), "/bin/true", inp, out, []);;
>   gap> DirectoryTemporary ();;
>   gap> Process (DirectoryCurrent(), "/bin/true", inp, out, []);;
>   List Element: <list> must be a list (not a boolean) at
>   return ExecuteProcess( dir, prg, input![1], output![1], args );
>    called from
>   EXECUTE_PROCESS_FILE_STREAM( dir, prg, input, new_output, args ) called from
>   <function>( <arguments> ) called from read-eval-loop
>   Entering break read-eval-print loop ...
>   you can 'quit;' to quit to outer loop, or
>   you can replace <list> via 'return <list>;' to continue
> The problem seems to be the caching of `PROCESS_INPUT_TEMPORARY' and
> `PROCESS_OUTPUT_TEMPORARY' in `process.gi' while the corresponding

Thank you very much for the bug report and the corresponding correction.
This fix will be included in the next bugfix.

Best wishes,

  Alexander Hulpke

PS: This reply only goes to the forum as the original report was to the
forum. Errors reported to `support at gap-system.org' will usually be
acknowledged privately, unless they could cause wrong results (in which case
we will alert the forum), but of course as well will be corrected in the
subsequent next bugfix. AH

-- Colorado State University, Department of Mathematics,
Weber Building, 1874 Campus Delivery, Fort Collins, CO 80523-1874, USA
email: hulpke at math.colostate.edu, Phone: ++1-970-4914288

More information about the Forum mailing list