[squeak-dev] Using OSProcess
Casimiro de Almeida Barreto
casimiro.barreto at gmail.com
Fri Nov 19 17:56:26 UTC 2010
Em 19-11-2010 15:39, Mike Hales escreveu:
> Thanks, that's just want I wanted. And thanks Sean for the tip on
> the http://forum.world.st/ index. That's pretty handy having all the
> lists together in one spot.
> Mike Hales
> Engineering Manager
> www.kscape.com <http://www.kscape.com>
BTW, if you're running squeak over CogVM it wont work... there are
incompatibilities between OSProcess, CommandShell and OSProcessPlugin
Interesting enough, if I do:
| str |
str := (PipeableOSProcess command: 'ls -l') upToEnd.
It will return and empty ByteString but will fail to read output from
Forking PipeableOSProcess won't work when using cog.
ps := PipeableOSProcess forkHeadlessSqueakAndDoThenQuit: [ ... ]
will fail crashing cog (memory fault). At least under linux.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev