Hi! On Mon, 16 Nov 2009, Schwab,Wilhelm K wrote:
Dave,
ProcessWrapper looks like a win32-only project to me, and Sig's gnuplot package appears to use OSProcess for unix. Please let me know if I am missing something.
Though I'm not Dave, I can tell you that ProcessWrapper is for win32 only. It exists because PipeableOSProcess doesn't work under win32.
It is true that OSProcess' unit tests cause Pharo to experience an ugly death, but a lot seems to work. I am having some success with code such as
gp := PipeableOSProcess command:'gnuplot'. gp exec:'set output ""'; exec:'set terminal png'; exec:'plot sin(x)'.
You still don't have to reinvent the wheel. If you don't want to use Igor's project - which you should IMO - you can still check out his code and see how he uses PipeableOSProcess to do the thing you want to do. Levente