yab | yet another Basic for HAIKU
Detect if the program was launched in Tracker or Terminal - Printable Version

+- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum)
+-- Forum: Programming in yab (https://yab.orgfree.com/forum/forumdisplay.php?fid=1)
+--- Forum: Help with programs (https://yab.orgfree.com/forum/forumdisplay.php?fid=4)
+--- Thread: Detect if the program was launched in Tracker or Terminal (/showthread.php?tid=146)



Detect if the program was launched in Tracker or Terminal - _-Caleb-_ - 01-02-2024

Hi,

Exists some like this?

I want to detect if the program was launched in Terminal or in Tracker (To show an Info Alert)

Is that possible?

Thanks and Happy new year!!


RE: Detect if the program was launched in Tracker or Terminal - bbjimmy - 01-02-2024

I do not know how or if it is possible to do this. Besides one would know if he launched the program from a Terminal or not.


Free Web Hosting