<div dir="ltr"><div>i have this code to detect if gambas runs at ide the current project or the project are compiled and runs by own:<br><br>    strProcess = File.Load("/proc" &/ CStr(Application.Id) &/ "comm")<br>    If Left(strProcess, 4) = "gbx3" Then<br>        Return -1<br>    Else<br>        Return 0<br>    Endif<br><br></div>BUT THIS WILL WORK AT THE MACOSX TOO? how can i detect in any OS/environment if my program runs at ide or not?<br><div><div><br><br clear="all"><div><div class="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.com</a></font></div></div></div>
</div></div></div>