You can tell if you are running with the ui versus the command-line with
"ui-running?".

If you want to see if the listener is open, you can find it's window:

    [ listener-gadget? ] find-window

And if you want to get a listener, opening one if it is not open, just call:

    get-listener




On Tue, Jun 22, 2021 at 8:33 AM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> How can my program know is it running in the listener or as .exe?
>
> George
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to