Headless/GUI

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Headless/GUI

Jiri R.
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


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Headless/GUI

David T. Lewis
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
 
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners