[Newbies] Headless/GUI

David T. Lewis lewis at mail.msen.com
Tue Nov 10 02:16:28 UTC 2020


On Sat, Nov 07, 2020 at 08:27:35PM +0100, Jiri R. wrote:
> Hello,
> 
> Is it possible to switch between headless and GUI mode back and forth?
> 
> [windows machine]
> 1. Start Squeak in GUI, setup and run a web server.
> 2. Logoff and let the web server continue to run.
> 3. Login. Open Squeak GUI and modify the web server.
> 4. Goto step 2.
> 
> Jiri
>

For Windows I do not have a solution, but for Unix/Linux you can
load the OSProcess package and do things like this:


	OSProcess thisOSProcess decapitate.
	(Delay forSeconds: 2) wait.
	OSProcess thisOSProcess recapitate.


Dave
 


More information about the Beginners mailing list