[uDraw(Graph)-Users] Call uDrawGraph from Ciao Prolog

Omar Nabil El Khatib okhatib at cs.nmsu.edu
Mon Aug 22 06:51:24 CEST 2005


Hi,

I am using ciao prolog under windows XP. I installed uDrawGraph 3.1.1 and 
I am trying to call it from Ciao Prolog, it runs uDrawGraph but hang and 
does not return to my prolog code.

Note: Ciao Prolog is compatible with old daVinci. I changed the library in 
Ciao to call:
     uDrawGraph -pipe

Example:
In prolog:
m :- exec('uDrawGraph -pipe', Input, Output, Error),
        get_code(O, C),
        get_code(O, C1),
        get_code(O, C2),
        [C,C1]="ok", .....

The above program will run uDrawGraph and get the work ok, but it hangs 
there, (i.e. not returns to my code to continue the rest of the code.

Any help.

Respectively
Omar.



More information about the uDrawGraph-Users mailing list