Hi - the following is a bit old but might still work (and I plan on revisiting 
it myself) - but my poor man's Pharo build system does the following (note the 
| tee which I use to capture any load errors that I can grep and cause a build 
failure). This might be the kind of thing you are looking for - or as others 
have said you can run headless.

echo -e "\e[1m\nLoading project packages...\e[0m"
pharo Pharo.image --no-default-preferences --save --quit st settings.st 
loadProject.st config.st \
    "{'$PROJECT_NAME'. '$DOMAIN_LOGIN'}" 2>&1 | tee LoadProject.log

echo -e "\e[1m\nVerifying project load history...\e[0m"
if (grep -f ../scripts/errorPatterns.txt LoadProject.log | grep -v -f 
../scripts/errorPatternsIgnored.txt); then
    echo -e "\e[91m\nERRORS detected in package load!\e[0m";
    exit 1;
fi

On Tue, 20 Feb 2024, at 7:46 AM, Rene Paul Mages (ramix) wrote:
> Hello Pharo Community,
>
> Output unix-redirection like the following is very useful :
>
> ls -al ./Pharo > Pharo-dir.txt
>
> <Help>
>
> I want to write in a file the "print-it" output of the following Pharo 
> message :
>
>                          1000 factorial
>
> Please give me a good track.
>
> </Help>
>
>
> -- 
> All the best
> Rene Paul Mages (ramix) GnuPG key : 0x9840A6F7
> http://sites.google.com/view/les-logiciels-libres/pharo
> http://nosoftwarepatents.wikidot.com/smalltalk
> http://twitter.com/RenePaulMages

Reply via email to