[Pharo-project] GraphViz in pharo

Levente Uzonyi leves at elte.hu
Thu Oct 28 17:10:05 EDT 2010


On Thu, 28 Oct 2010, Guillermo Polito wrote:

> Hi! I downloaded Graphviz yesterday in my ubuntu machine using pharo 1.1.1
> with cog, and graphviz worked very well :).
>
> Today I'm using a pharo 1.1 image and 4.0.2 VM on windows machine and I
> can't make it work :(.
>
> Graphviz needs OSProcess and CommandShell.  I downloaded them, but there are
> some problems:
>
> - For windows it uses Win32Shell, which isn't in my Pharo Image of course
> :P.  So I replaced it by CommandShell but it is still failing.

Win32Shell is in FFI. CommandShell doesn't work on windows. If you want to 
use pipes instead of files for input/output on windows, then try 
ProcessWrapper.

Btw there's a fork of Graphviz in Gjallar's repository: 
http://mc.gjallar.se if someone is interested.

> - I'm trying to use CommandShell on its own, but I have the folowing result:
>
> *$ ls
> cannot access system to run 'ls'*
>
> GraphViz was adapted to pharo this year on June by "SR".  ?Does someone know
> who's him or her?  ?Can someone send me a tip?

SR is probably Stefan Reichhart.


Levente

>
> Thanks!
> Guille
>




More information about the Pharo-dev mailing list