I am creating a program that may or may not start inside an instance of Citrix. A program needs to detect this because it must behave differently on Citrix. How can it be detected in a reliable way? So far, I assumed that the computer has a C-drive.
bool(os.environ.get('citrix_version'))
I think this is the best way to detect in python.
I assume you want to know if your application is running on a XenApp (aka Presentation Server / Metaframe) session?
C: . , Citrix , . C: M:. "en vogue".
, . .
, XenApp/Presentation Server , , Citrix CTX107570.
Source: https://habr.com/ru/post/1780965/More articles:KRL response processing - krlTinyMCE cursor move - javascriptThe external window of the external screen of the iPhone application zooms in / out while working on the iPad - iosWhen is a hash table better to use than a search tree? - c ++C # as a tree - c #Conversion of surrogate type created in ISerializable.GetObjectData exception when an object is a field in the Serializable class - c #Extract video from SWF file - flashHow can I store HTML in a DB (SQLITE PYTHON) - pythonUnable to set breakpoint in eclipse - eclipseget local groups, not primary groups for a domain user - c #All Articles