An elegance layer to calling unix commands.

This library provides primitives that allow programmers and users
to embed calls to process_create/3.
The aim is to keep application code clear and succinct.
This is achieved by (a) reducing the call to process_create/3 to its
essential constituents and (b) allowing for term structures in the arguments of the call.


This library has been developed and (only) tested on linux systems.
It is likely it will work on MacOS with small modifications.

   ?- @ mkdir( -p, /tmp/test_by_unix ).
   ?- @ cd( /tmp/test_by_unix ).
   ?- @ touch( ).
   ?- @ rm( -f, ).


On SWIPL It is highly recommended that you install from within SWI using its package manager.
To install simply do:

?- pack_install( by_unix ).

And then load by :
?- [library(by_unix)].

On Yap take the latest .tgz from: unix. Ungzip, untar and copy the prolog/ file into your library system directory.


module documentation: by_unix.html
sources: by_unix


Nicos Angelopoulos
December, 2013