[Pharo-project] what's the standard way of finding out from Smalltalk if one is running headless?

Max Leske maxleske at gmail.com
Wed Aug 31 12:36:58 EDT 2011


From 1.3 on this would work: Smalltalk isHeadless. Not s

Max


On 31.08.2011, at 18:28, Eliot Miranda wrote:

> I thought to test things like Display extent & DisplayScreen actualScreenDepth but these either fall back to values in the pre-headless image or don't fail and answer the actual display depth, even though the VM is running headless (at least on Mac they do).
> -- 
> best,
> Eliot
> 





More information about the Pharo-dev mailing list